#edutomesco

1 messages · Page 1 of 1 (latest)

gilded saddleBOT
compact falcon
#

sorry I can't see the attached document

frigid geyser
#

What I really want to know is if I specify a checkout mode of subscription it's included the setup functionality of saving for future payments?
No. To save for future payments you will need to update the Customer on webhook later on

frigid geyser
#

When you look at the Doc above, you can see it hasn't saved any payment method to the customer yet

#

You will need an extra step by catching the checkout.session.completed event, and save the payment method into customer.invoice_settings.default_payment_method

compact falcon
#

Thank you!

frigid geyser
#

good luck!

compact falcon
#

sorry

#

i have another question

#

i want to be sure

#

if I use the checkout session tool to do the payment process of my customer

#

Should I need in parallel to control de paymentIntent or it's controlled by the checkout session ?

weary garnet
#

it's controlled by Checkout

compact falcon
#

I mean what are the main benefits of checkout?

#

all the things it controlled?

weary garnet
compact falcon
#

thank youu

#

I would like to know the technical benefits

compact falcon
weary garnet
#

I'm not sure how to answer that really

#

the main advantage is that it's much less code since you simply redirect to another page

#

you don't have to write your own HTML forms and JS validation and error state handling or multiple UIs for different payment methods