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.
- [JS SDK] When I revise subscriptions the price shows incomplete in SDKs
- Can I get country and email address onApprove? in SDKs
- showing custom_id information in a subscription in SDKs
- How to use the same Smart Subscribe button multiple times on the same webpage? in PayPal Payments Standard
- How to implement PayPal Subscription feature plan in Android in Sandbox Environment