window.opener undefined in JavaScript popup after redirect
I have a problem with a website that displays a payment dialog using window.open(). The page in the popup redirects to a different domain that redirects back to a result page. On the result page, I try to set a property on window.opener to signal that the payment is ok. This works for some users. Other users, however, get an error saying that window.opener is undefined. The problem can the recreated using these simple pages: index.html (Opens the popup) <!DOCTYPE html> <html lang="en"> <body> <input type="button" value="Popup" onclick="openPaymentWindow();" /> <div id="result" style="backgroun
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.