i use the script checkout.js for render the PayPal Button on my web page. When i click on the button, a popup is open for process the payment.
Once the payment done, the popup doesn't close. She stay open with the success page on my website.
How to close her automatically ?
Edit: Exemple here: github.
More: When the payment is not parralel, the popup is close after the payment. But in my case, the payment is parralel.