I have set-up a payment system with PayPal wherein I send a form to the palpal site (with a price and product description), customers pay there and then are redirected by to my site where my server populates a database with purchase-related data (software access codes etc). PayPal required no server-side dependencies or installations. Does square have something like this? Are there any examples? I am having a really hard time finding info on how to recreate that workflow with Square…
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
Additional Documentation
Take Payments on Square Hardware
https://developer.squareup.com/docs/squarebridge/business-central/payments/collect-payments
In-App Payment Solutions
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
Yes, Square does offer a similar workflow to what you described with PayPal. You can use Square’s Checkout API to create a Square-hosted checkout page for a buyer to pay for goods and services.
When a buyer wants to make a purchase, your application uses the Checkout API to create a Square-hosted checkout page. After receiving the request, the Checkout API creates an order and a PaymentLink object, which provides the URL to the checkout page that Square renders when requested.
Your application can then give the checkout page URL to the buyer. After the buyer opens the checkout page and pays for the purchase, Square redirects the buyer to a confirmation page. You can optionally provide a redirect URL in the request. If not provided, Square redirects the buyer to a Square-provided confirmation page.
You can find more information and examples in the Checkout API Overview section of the Square Developer Documentation.
This answer was reviewed by @Bryan-Square.