#DmitryS
1 messages · Page 1 of 1 (latest)
Hi there
You too 🙂
So the Charges API here is our legacy API
You want to use the PaymentIntents API
And you would create/confirm the PaymentIntent and pass the PaymentMethod ID and the Customer ID that you want to charge
The request would look like: https://stripe.com/docs/payments/save-during-payment?platform=web#charge-saved-payment-method
so it will require to rewrite a lot of code, right?
or I need to add a new webhook there?
to create and attach PI?
Not sure what you mean exactly
As long as you are setting the PaymentMethod up for future use via Stripe Checkout then you can create/confirm a PaymentIntent to charge that PaymentMethod later on whenever you want
ok let me re-phrase
ah so I can still use Stripe Checkout API, right? so user will enter all his credentials on checkout.stripe.com?
Yep
If you are creating Subscriptions then the PaymentMethod will be set up for future use automatically
Since that is required for Subscriptions
You too!