Closing third-party site needs to refresh parent window?
<p>I'm using javascript to open a new window that opens a third-party website where the user can make a payment.  I have no control over the third-party site. When the payment is complete, the third-party site does a window.close to close the window.  At this point, I want my site to refresh so the payment shows as made.  </p>

<p>I have tried to open the third-party site in an iframe in a page on our own site so that I can add javascript that refreshes the parent window on window close.  However, the third-party site detects that its window.close did not work and gives the user a message that 'an error occurred when trying to close the window.'  I have no control over that message and do not want the user to think an error occurred in their payment even though they just need to close the popup.</p>

<p>Any suggestions?</p>
