#db1900
1 messages · Page 1 of 1 (latest)
Hi 👋
Which ELement are you using? Payment Element? And you are attempting to manually enter bank account info?
I have an integration set up using the Payment Element and collecting manual bank account details. It remains open for me.
- Can you share any errors or warnings you see in the browser console
- Can you share the Setup Intent or Payment Intent ID you are using to instantiate this Stripe Element
- Can you check to see if any other part of your UI is attempting to steal focus, which would force the modal window to close.
yes, its a payment element and we are attempting to manually enter bank info
here's a console error im seeing:
js.stripe.com/:1 [Report Only] Refused to frame 'https://js.stripe.com/' because it violates the following Content Security Policy directive: "frame-src 'self'".
How are you loading the Payment Element?
importing it from "'@stripe/react-stripe-js';"
I meant are you loading it in any sort of iframe with a different origin?
yes we are
Well there is the problem
The Payment Element must be loaded with the same origin as the domain it is being hosted in
sorry i misunderstood. its def in an iframe but the origin is the same.
Okay, do you have a website I can review for this?