#raganookttv
1 messages · Page 1 of 1 (latest)
is there a reliable way to load stripe.js on the client side, without having to host and interact with it through our own iframe (not stripe.js's) for security reasons? We would like to use the stripe elements react components via npm, but that doesn't call a pegged version of stripe.js (we control the version through deploy) so I don't think this is an option
I don't believe there's a way to do that. Double checking
hang on, I think I misunderstood your ask.
In your current setup, you're loading Stripe.js + Elements in your own iframe. So it basically creates nested iframes, one generated by Stripe and the other, by you which creates issues with Apple Pay and radar?
What you're looking to do is get rid of the iframe you've created, so that you can get Apple Pay working and so on.
Correct?
@neon wind
Seems like you've stepped away.
Nested iframes shouldn't interfere with Apple Pay functionality, see: https://stripe.com/docs/apple-pay?platform=web#web-integration-considerations
You may need to register both domains to get it to show up.