#pavan-checkout
1 messages · Page 1 of 1 (latest)
@undone sentinel a better option to update payment method details is the customer portal: https://stripe.com/docs/billing/subscriptions/customer-portal
But otherwise you can use Checkout in setup mode to collect card details and after they set up their card you can attach it to the customer and delete the old one
We are not planning to use customer portal since it has some limitations. Any doc which describes setup mode, will user redirected to Stripe UI ?
What limitations does it have? You can just use the portal to do PaymentMethod update which seems exactly like what you want, and easier than trying that with Checkout and a lot of code
Customer portal doesn't support multiple products, we do have multiple products
But that doesn't matter
You use Checkout for payments and the customer portal for letting customers change their card details
it's just 2 different products with different usage
I know there are 2 options for Checkout 1. Prebuilt checkout and 2. Custom Flow . Where does this customer-portal comes into play ? I am confused
this is completely unrelated?
Sorry I know you're confused, I just don't understand what part is confusing
- Checkout https://stripe.com/docs/payments/checkout is a product to accept payments easily. You use this for one-time payments you said
- Customer Portal https://stripe.com/docs/billing/subscriptions/customer-portal is a separate product that lets businesses have their customer easily manage a few common things: change their payment method(s), update their subscription(s), see their past invoice(s).
- Elements https://stripe.com/docs/stripe-js#elements is a JS library you can use to build your own custom forms, if you don't want to use one of the two products above
It seems you use Checkout. You now want to let customers change their card details and I was suggesting using the customer portal, which supports that specific feature.
But otherwise, yes you can use Checkout, have a customer enter a new card and after Checkout is done, you can attach the new card to the customer and delete the old one
Thanks for the detail explanation. Regarding last point, to update card details as part of checkout will he be taken to Stripe Checkout page again and he will enter card details and it is automatically get stored ? Any doc for this ?
We are using Checkout for subscriptions, and it is recurring payments.