Right now, I'm using the sqPaymentForm object, embedded in my application. I receive a nonce, authorize and capture a transaction. Once that passes correctly, I want to persist that nonce in a reusable payment_method but I always get the CARD_TOKEN_USED error.
I assume that nonce can therefore only be used once.
Do I absolutely need to create the customer and card before the charge? This is contrary to how I use the other payment gateways I've integrated with. The issue is I don't want to save a payment method before I confirm the payment has at least been preauthorized.
I'm sorry to keep you waiting for a reply @mike65. I checked with an API specialist who confirmed that the nonce is a one time use token. This means you will need to CreateCustomerCard first with the nonce and then use the saved card to charge the customer.
I'm sorry to keep you waiting for a reply @mike65. I checked with an API specialist who confirmed that the nonce is a one time use token. This means you will need to CreateCustomerCard first with the nonce and then use the saved card to charge the customer.
Square Community
Square Products