#Benoît
1 messages · Page 1 of 1 (latest)
👋 happy to help
1/ When i subscribe to another plan in my app, with the same credit card datas, it creates a 2nd card with the same datas (and none of them is defined by "default"). How can i use the same card if already exists ?
once the first invoice is paid you can set the customer'sinvoice_settings.default_payment_methodto be the PM that was used to pay the invoice
this will make any future invoice/subscription created in the future use that PM if no other one is specified
2/ Let's imagine a 3rd payment, How could i create a "direct payment", without having to fill the Payment Element form ?
you can pass the PM ID to the Payment Intent
Ok great !
Thank you very much ! I thank you for your advice concerning the Payment Elements form, it's so simple now to handle all those various use cases !