Payment Authorization & Capture the Payment (Future) using PayPal-node-SDK (PayPal Express Checkout)
问题 I'm working with PayPal Express Checkout and and what i need to do is Authorize and Capture the payment later separately, my current PayPal flow is, 1) I create a payment using following code: var paypal = require('paypal-rest-sdk'); function createPayPal(req, res, itemsArray, redirectsTos) { var payment = { "intent": "sale", "payer": {}, "transactions": [{ "amount": { "currency": sails.config.currency, "total": itemsArray.totalArrayAmount, "details": { "subtotal": itemsArray.totalArrayAmount