#manhuman-subscription
1 messages · Page 1 of 1 (latest)
hi! it's not really, you'd use https://stripe.com/docs/invoicing/hosted-invoice-page for a hosted page for subscription updates in many cases. Can you describe the use case in more detail?
My user is subscribed to a subscription. For the creation, no problem.
For the update, no problem too except if the payment is refused due to 3D secure or ...
I would like to be able to redirect my user to your authentification form/process or the page where the client can change the payment method and then finalize the payment.
Hi! I'm taking over this thread.
If a payment for a subscription failed because of 3DS, we have settings in the dashboard to automatically handle that https://dashboard.stripe.com/settings/billing/automatic
Have I to use the JS api ( https://stripe.com/docs/js/setup_intents/confirm_card_setup )?
Yes but I would like to manage that directly on my website and not by sending an email.
If the payment failed, I would like to redirect my client to the same form than in Stripe Checkout because all is really easy in that payment process.
This is not possible?
Checkout is for collecting new payment details, but technically it could work. You can learn more about this here: https://stripe.com/docs/payments/checkout/subscriptions/update-payment-details
Otherwise you have a few other options:
- Retrieve the failed PaymentIntent, then then just call this on your frontend to confirm the PaymentIntent: https://stripe.com/docs/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-token
- Retrieve the failed invoice, and redirect users to the hosted invoice page: https://stripe.com/docs/api/invoices/object#invoice_object-hosted_invoice_url