Square Checkout & Card On File

Hi there!

We are using Square Checkout to charge clients, and we would like to allow them to save their credit cards on file for future purchases. I am aware that this is not supported via the Square Checkout API, But I’d like to know if there is a way to retrieve the payment method they paid with after the payment is complete, and attach it to their account, or any other workaround we haven’t thought of.

Thanks a lot!

Hi @hananf welcome to the forums!

Unfortunately, there is not a way to attach a customer to a payment after the payment has been completed at this time. The only way would be to build out the Square Payment Form to generate a secure nonce, and use that to save the customer’s card on file.