#arthuryueh
1 messages ยท Page 1 of 1 (latest)
Hi there, paynow payment method is not reusable and that's why you can't attach one to a customer
Got it, what's the difference between attach a payment method to customer or not ? Or what's purpose to attach payment method to a customer ? I don't quite understand the difference ๐
Thanks @full ridge
You attach a payment method to a customer so that you can reuse this payment method in future payments.
If you don't attach a payment method, this payment method can only be used only once.
Sorry what do you mean can be used only once.
I can create a new payment method object (maybe the same type 'card') every time a customer makes a payment intent right ?
Or you mean the correct usage is create a payment method object, and reuse them in future payment intent ?
Many thanks @full ridge
It's really up to you, but my personal opinion is that you should reuse the payment method so that you don't need to ask your return customer to key in the card details again.
For example, if you specify a customer when creating a checkout session, Stripe will automatically pre-fill the credit card info if there's a card payment method attached to this customer.
Got it, thanks for this detailed explanation ๐
Welcome! happy to help