#silkmilksilk-confirm-PI-action
1 messages ยท Page 1 of 1 (latest)
Hello! Ok, thats good, how can I tell Stripe.js that there's an action to be taken if it happened on the server?
We have a guide here that will walk you through the steps ๐
https://stripe.com/docs/payments/3d-secure#when-to-use-3d-secure
aaaah okay! i'll give that a read, thanks!
quick question: what Stripe element are you using? The guide I linked above uses cardElement in the example
if you're using PaymentElement then you'd want to look into this instead
https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#web-submit-payment
I've used the SetupIntent API with the Payment Element to save a card for future use.
Then i'm using the saved PaymentMethod later when the customers checkouts, and confirming the it on the server without any elements.
does that make sense?
yup gotcha! makes sense.
I think that's similar to this use-case that we talk about
https://stripe.com/docs/payments/save-and-reuse?platform=web#charge-saved-payment-method:~:text=If the payment,authenticate the payment.
ok ok , it does seem similar to that.
It looks like if i just return the payment method + the client secret, then Stripe.js will take over and complete the 3D secure
yup