#DmitryS

1 messages · Page 1 of 1 (latest)

obtuse windBOT
forest gust
#

Hi there

silver quarry
#

Hello!

#

I'm hope you're doing well!

forest gust
#

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

silver quarry
#

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?

forest gust
#

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

silver quarry
#

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?

forest gust
#

Yep

silver quarry
#

that's great!

#

I'll check out that API

forest gust
#

If you are creating Subscriptions then the PaymentMethod will be set up for future use automatically

#

Since that is required for Subscriptions

silver quarry
#

cool

#

I understand

#

thanks a lot!

#

have a nice day!

forest gust
#

You too!