hi every body .
I’m very new in using square for payment . I know that for payment I should send customer to sqaure payment page and after customer pay I should receive info from square. is it true ??
do you have a complete source example for this ?
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
In-App Payment Solutions
Take a Credit Card Payment
Get Started
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.
With Square you have several different options. You can send the customer to a Square hosted page where they complete the checkout. Once completed they’ll be redirected to your configured redirect URL or to a Square hosted conformation page. This it the Checkout API.
Or you can use our Web Payments SDK to allow customer to checkout without leaving your site. The Web Payments SDK enables the client implementation of the client/server Square online payment solution. The SDK produces a secure one-time-use payment token that your application web client sends to your backend, where it’s processed as a payment with the Payments API.