#alliance-subscription-setupintent
1 messages · Page 1 of 1 (latest)
alliance-subscription-setupintent
@shrewd gulch what do you need help with. What's the problem you're stuck with?
im in case with a subscription with free trial and the user want to pay with 3DS card
I get the pending_setup_intent.client_secret and I want to know how can I show the authentification page for the user.
So you create a Subscription, you get a SetupIntent in pending_setup_intent and then client-side you have to confirm it using confirmSetup() with PaymentElement
it's a bit like https://stripe.com/docs/payments/save-and-reuse?platform=web except you already have the SetupIntent
ok let me see.
please don't close the channel
Why I have to create a component ?
in the case when I have a payement_intent it was easy. I just made a call to confirmCardPayment and Strip was able to show the authentification page for the user
You need something to collect their payment method details
I already collected payment details.
in my pending_setup_intent i see
{
"type": "use_stripe_sdk",
"use_stripe_sdk": {
"source": "src_1MTqkTGfA2lQACd1pxjIgGgm",
"stripe_js": "https://hooks.stripe.com/redirect/authenticate/src_1MTqkTGfA2lQACd1pxjIgGgm?client_secret=src_client_secret_popoGzH9igKO7kjxxFLr1EaZ&source_redirect_slug=test_YWNjdF8xOW9DUkNHZkEybFFBQ2QxLF9ORUpOTUx1SmE5NU9XY3lySk1mZzJTQmhtTW53a1ZE0100dvorLeFP",
"type": "three_d_secure_redirect"
}
}
I can't use this to show the authentification page?