#stellarloony-subscription

1 messages · Page 1 of 1 (latest)

clever hearth
#

Hi! Are your customers on your website when you try to update the subscription?

next stratus
#

yes

clever hearth
#

Then you should retrieve the payment_intent.client_secret and call stripe.confirmCardPayment() on the frontend to go though the 3DS flow.

next stratus
#

ok thanks

next stratus
#

is there a way to prefill the PaymentElement with the default payment method details?

clever hearth
#

I'm guessing you already collected the payment details when creating the subscription, and set the default payment method. So you don't need to use Payment Elements to collect the payment details again, you just need to go though the 3DS flow by calling stripe.confirmCardPayment(client_secret).