Reputation: 21
What are the steps that I need to follow to properly charge a customer using square-connect?
I'm confused because the documentation is not very clear about this.
Upvotes: 2
Views: 149
Reputation: 4271
Generally your workflow is to create a card_nonce
using the payment form, and then send that to the charge
endpoint with the amount you want to charge.
Create card nonce -> Charge
If you want itemizations for your transaction, you can optionally create an order as well
Create card nonce -> Create Order -> Charge
Upvotes: 1