To verify paypal payment
Get paypal payment by payment id.
Use npm
$ npm install paypal_payment
How to use
var paypal_payment = ; // set oncepaypal_payment; paypal_payment;
Test
Set your account information at test/index.test.js file.
var secret = '<Your secret>';var client_id = '<Your client_id>';var PAY_id = '< A paypal payment id>';
run:
$ npm test