function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shubham NandwanaShubham Nandwana 

Integrate sqaure checkout API with salesforce

Hi,
I am trying to use square checkout API as a payment gateway for my force.com site. I want my user to click on a button which will redirect him to the square payment form, take his details and process his payment and return to my site page with success or failure status.
Referring to https://docs.connect.squareup.com/payments/checkout/setup I installed composer, square SDK setup but I am not able to use them for my site. How should I redirect the user to PHP payment form? 
Guide with any information you have or tell me if I am doing anything wrong.