Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Window.opener not working with stripe connect popup

I have stripe connect integrated on my project, stripe verification window opens in popup and when it is closed parent window reloaded.

I was working fine few days ago but now its giving me window.opener is null error following is my code

window.opener.location.reload();
like image 429
Vikram Avatar asked Oct 19 '22 03:10

Vikram


1 Answers

Contacted stripe support, and it does seem to come from some security measure they took, here is a part of the answer I got:

[...] Unfortunately, we don't have a work around for this yet as this change was put in place to prevent a security vulnerability a few months back. [...]

So for now we went to the whole redirect method.

like image 159
Korri Avatar answered Oct 22 '22 04:10

Korri