I am opening a paypal window from the parent with window.open(). After payment and redirecting back to my page (in the popup window), I would like to close the
First you can have a timer function in the parent windows to check whether the child window is opened or closed at particular time interval say 100ms or so. If it is closed then you can reload the parent window.