You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
AccountOnboarding.tsx:133 Uncaught (in promise) SubmerchantAuthError: Popup is blocked by browser.
at SubmerchantAuthenticationContext.tsx:436:18
at new Promise (<anonymous>)
at SubmerchantAuthenticationContext.tsx:431:14
at SubmerchantAuthenticationContext.tsx:452:14
at async SubmerchantAuthenticationContext.tsx:580:17
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:
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.
The text was updated successfully, but these errors were encountered: