Paypal subscription button - Popup not closing and onApprove not triggered
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have implemented Paypal subscriptions using this approach and the buttons from this example https://paypal.github.io/react-paypal-js/?path=/docs/example-subscriptions--default.
Everything was working fine until today, as we noticed following bug.
onApprove never gets triggered and also popup window never gets closed, even though the payment is successful.
This happens in both the sandbox and production environments I have and also in your storybook example.
😕 Current Behavior
Paypal popup stays opened and it needs to be closed manually, after the payment is completed.
OnApprove is not triggered.
🤔 Expected Behavior
The Paypal popup closes after the payment is completed
OnApprove is triggered.
Please give us a feedback on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
YES! I am having the exact same issue. Never had it before just recently. Seems to have something to do with the new message that displays after a user subscribes. I could use a solution to this. O_O
EDIT: Ah, nevermind! It seems paypal figured out this was happening and fixed it! ^^
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- paypal angular sandbox, receiving not approved order ,when Capture even OnApprove is triggered in Sandbox Environment
- Subscription renewal alerts and failures in REST APIs
- Custom message after successful payment in Subscription button code. in REST APIs
- Cannot start a PayPal subscription in Sandbox Environment
- Simple Paypal button integration results in 404 error in Sandbox Environment