#db1900

1 messages · Page 1 of 1 (latest)

pliant summitBOT
blissful beacon
#

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.

  1. Can you share any errors or warnings you see in the browser console
  2. Can you share the Setup Intent or Payment Intent ID you are using to instantiate this Stripe Element
  3. 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.
late marsh
#

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'".

blissful beacon
#

How are you loading the Payment Element?

late marsh
#

importing it from "'@stripe/react-stripe-js';"

blissful beacon
#

I meant are you loading it in any sort of iframe with a different origin?

late marsh
#

yes we are

blissful beacon
#

Well there is the problem

#

The Payment Element must be loaded with the same origin as the domain it is being hosted in

late marsh
#

sorry i misunderstood. its def in an iframe but the origin is the same.

blissful beacon
#

Okay, do you have a website I can review for this?