Subscription onApprove timeout error

NickBettes
Contributor
Contributor

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

Login to Me Too
3 REPLIES 3

tbpa
Member
Member

Did you ever get a solution to this?  

 

I am experiencing this, as well.

Login to Me Too

abhijitapawar
New Community Member

I am also seeing similar error  - =SMART_PAYMENT_BUTTONS net::ERR_NAME_NOT_RESOLVED

Did you get a solution for the above error?

 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.