Subscription onApprove timeout error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do I get the response json after creating a new subscription?
I am using this code:
onApprove: function (data, actions) {
return actions.subscription.get(data.subscriptionID).then(function (details) {
console.log(details)
});
But get this console error:
b.sbox.stats.paypal.com/v2/counter.cgi?p=uid_bf756f1ba7_mdg6ntk6mjm&s=SMART_PAYMENT_BUTTONS:1 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
- Labels:
-
Subscriptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am also seeing similar error - =SMART_PAYMENT_BUTTONS net::ERR_NAME_NOT_RESOLVED
Did you get a solution for the above error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry only just seen this - answered here https://stackoverflow.com/questions/69353513/paypal-create-subscription-onapproval-get-times-out/693...

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- 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
- Can i create subscription and plans directly in JavaScript on the page ? in PayPal Payments Standard
- Invalid 'custom' parameter in PayPal Reporting