I have a website that offers my service and I would like to be flexible with payments.
Say I create an HTML form on my site that asks the user how much they will pay in dollars and cents, and when the user submits the form (clicks a submit button), the amount is passed over to square and the details of the payment is also passed to square, then the user is directed to a form made by square to input credit/debit card information. Once that is successful then in my payment logs, I should see a new entry showing the amount paid and the description of the payment as passed from my site.
Below is an example of how i would implement things:
example
Is there a way this can be officially done? Maybe I need to specify a different endpoint or URL parameters?
Square Community
Square Products