#j_r_e

1 messages · Page 1 of 1 (latest)

narrow roverBOT
devout ruin
#

Hi there!

unborn cove
#

Hi Soma !

devout ruin
#

I'm confused. Do you want to use Checkout Session to create the Subscription, or do you want to create the Subscription yourself?

unborn cove
#

lol sorry

#

my backend is creating he Customer and the Subscription, that's fine

#

but I would like to use Checkout Session to let the end user enter its bank details to complete its payment details for this subscription

devout ruin
#

No that's not how it works.

unborn cove
#

argh

#

I've done it through Stripe elements on that way

devout ruin
#

If you want to use Checkout Session, then only create a Checkout Session in subscirption mode, and redirect the users to the Checkout Session url. And that's it. The Checkout Session will take care of everything.

unborn cove
#

but I would prefer to use Stripe Checkout

devout ruin
#

Yes we recommend using Checkout Session because it's simpler.

unborn cove
#

ok...but with Stripe elements I've got more information on customer (like adress, etc...)

devout ruin
#

You can ask the same information on the Checkout Sesison if you want

unborn cove
#

ok, so in fact, I juste need to Create a Checkout Session, send back this URL to my Frontend and the subscription will be created on the same way as the Stripe Elements and I'll retrieve subscription ID from webhooks in fact

devout ruin
unborn cove
#

perfect, thanks Soma