Paypal's configuration doesn't work in live mode, works fine in sandbox. Debug id: 3a70997f4f591

Bikal
Contributor
Contributor

Hello all, 

 

I have integrated paypal in my project for subscription based payment. It works fine in sandbox mode and I don't get any errors, but while I change it to live mode, I get errors in the live server as:

Connecting to postgres
Webhook error { Error: Response Status : 400
at IncomingMessage.<anonymous> (/home/node/api/node_modules/paypal-rest-sdk/lib/client.js:130:23)
 at IncomingMessage.emit (events.js:198:15)
 at IncomingMessage.EventEmitter.emit (domain.js:481:20)
 at endReadableNT (_stream_readable.js:1139:12)
 at processTicksAndRejections (internal/process/task_queues.js:81:17)
 response:
 { name: 'VALIDATION_ERROR',
 message: 'Invalid data provided',
 debug_id: '3a70997f4f591',
 information_link: 'https://developer.paypal.com/docs/api/webhooks/#errors',
 details: [ [Object] ],
 links: [],
 httpStatusCode: 400 },
 httpStatusCode: 400 }
Seeding Dynamodb


I have ensured that the mode is "live" and the client_id and client_secret that I'm using is for the live mode and not sandbox mode. Other than that, I have not changed anything in my setup from sandbox to live. Any help would be much appreciated. Thank you! Have a good day!

Login to Me Too
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.