[js sdk]How to close the PayPal popup opened by click paypal button
ethan59
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Nov-26-2022
07:55 PM
I rendered a paypal standard button in a spa page. it opened a popup when I click the button. I want to close the popup in some case such as user click the router back button in a spa page. How do I code it? I have tried button.close, but it did not work
By the way, it does not open paypal popup but outlined the button if I click it immediately when the button rendered
0 REPLIES 0

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment
- Things don’t appear to be working at the moment in PayPal Payments Standard
- Something went wrong. Contact the merchant for help. in PayPal Payments Standard
- How to prompt a "thank you" after using donate button on a website in PayPal Payments Standard
- QR Code Issue in Braintree Client-side Integration (JS, iOS, Android SDKs)