#RMoura_JS-3DS2
1 messages · Page 1 of 1 (latest)
on the normal 3d secure I can access the redirect link with this keys responsenext_action.use_stripe_sdk.stripe_js
but with the 3ds2 theres no clear url
How are you creating this link?
No Im creating a payment intent that is returning a status of requires actions
I thought it would appear in the three_ds_method_url porperty
Ah because it does for 3DS but not 3DS2?
yeah
Do you have the request id for that?
yes
Send it when you can please
pi_3Jf5AAIGDBqjniob0mJRvC0V
Thank you
@umbral ocean you should never send the internal URL of the PI to a customer over email
instead, you should be sending them a URL to come to your own website
You would be showing some kind of "payment summary" about what they are about to pay, where they could enter card details if needed and your code can use Stripe.js to confirm the PaymentIntent
3DS2 doesn't matter in the flow I describe
hmmm ok
you get the customer on your own website, and there, in Javascript you call confirmCardPayment() and we do the rest, 3DS2 or not
we will show a modal if needed and do the device fingerprint/3DS2 auth without you having to do anything except call that confirm the way you do for normal payments
Ok, the problem is the platform I have recently started working on is doing subscriptions "manually" instead of using the default subscriptions from Stripe. That is, running a cronjob that starts a task of payment intent, so there's no input. I know it's not the best way but I'm not here to change how they implemented things; I'm just giving some feedback via email to the user. In the case of 3d secure, it was easy since the response includes a redirect link, and I just wanted to know if 3d secure 2 had something like that. But from this chat, I'm guessing it's a no.
Thank you anyway :).
In the case of 3d secure, it was easy since the response includes a redirect link
it's mostly that this was a really bad idea 😦
that URL is not guaranteed to last and so a customer could click on it and get nowhere
true :/
In the email i think ill send something like. this link may have expired or something like that
its a workaround for sure...