Open kbernst30 opened 3 months ago
Did you find a solution?
Unfortunately I am unable to repro this issue at the moment.
Are you able to repro if you use our quickstart to embedded onboarding sample? https://docs.stripe.com/connect/onboarding/quickstart?connect-onboarding-surface=embedded&connect-dashboard-type=none&connect-economic-model=revshare&connect-loss-liability-owner=stripe&connect-charge-type=direct
@VinnyLimogrid @kbernst30 would you be able to attach a video, or a sample repository that is reproing the issue?
To double check - your site does comply with the CSP and HTTP header requirements - in particular the Cross-Origin-Opener-Policy value? https://docs.stripe.com/connect/get-started-connect-embedded-components#csp-and-http-header-requirements
I've been following the tutorial for setting up Onboarding with Stripe Connect https://docs.stripe.com/connect/onboarding/quickstart#init-stripe
I have everything set up, and the iFrame that contains the button to "Add Information" displays on the page, but once i click it, i get a Console Error saying the following:
Even so, a popup does indeed open (definitely wasn't blocked) but shows just a loading indicator.
I dug into the code a bit and the issue seems to occur because the call from window.open in the Stripe connect library returns null. And the error message saying "Popup blocked" happens if the result from that call is null. I know this can be a problem with window.open when not initiated directly by a user, but i don't see anyone else having this problem with Stripe and React.
Here is my code for this.. perhaps I'm doing something subtly wrong, even though I followed the tutorial:
This happens in all browsers and for all test users I've created.