How It Works
At a high level, completing an order with Square Checkout involves the following steps:
Application frontend collects order information
Application backend sends a
Square responds with a checkout object that includes an
Orderobject and a URL to the Checkout form.
Application backend sends the checkout URL to its frontend, which redirects the customer to that URL. The Checkout form appears prepopulated with transaction information.
Customer provides payment details using the Square Checkout UI hosted by Square.
Square attempts to authorize and capture the payment. If there is an error, the Square Checkout form prompts the customer to correct their information.
Square redirects the customer to the Checkout confirmation page.
Once payment processing completes, a confirmation email is sent to the buyer at the email address collected in the checkout form, transaction and buyer details are made available in the Square Dashboard.