2
votes

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.

  • Do I have to create an Order object then do a Transactions and the Charge?
  • Do a Transactions and then charge?
  • Can charge directly?
1

1 Answers

1
votes

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