#whimsical_raccoon_51035
1 messages · Page 1 of 1 (latest)
Unfortunately you just can't use an i-frame when you're redirecting the customer to a Stripe-hosted payments page. I would recommend building a different UX that doesn't rely on that pop up in an i-frame, or switching to the Payment Element, which likely has a better design for what you're trying to do
Thanks for your answer. I have followup questions:
- Will I be able to use the Payment Element inside the iFrame?
- If I use the Payment element Will I be able to request the card details? I think in the past I tried but an error message told me I was not able to process card details.
- Could you please point me to the documentation of the Payment element you are mentioning.
I believe it's possible, but let me test and circle back
So I guess the answer is actually: no, you cannot embed either of these technologies in an i-frame. The issue comes from when 3DS requires a redirect to the 3rd party card issuer's auth portal. There's now way to redirect back to the i-frame from the issuer's auth portal
Ok I understand thanks for your explanaition I guess we will have to live with the redirection for now.
Wish I had a better answer for you, but it's just one of those limitations that we have virtually no control over
I understand, idk what other alternative we have to the iframe to build this widget but for now we will have to live with this limitation.