Language, language version, and OS: Javascript(node.js) on MacOS, and Javascript(node.js) on Ubuntu 14.04
Issue description
sale.get is returning
{ name: 'INVALID_RESOURCE_ID',message: 'The requested resource ID was not found',information_link: 'https://developer.paypal.com/docs/api/payments/#errors',debug_id: '9170fb705cd23',httpStatusCode: 404 },httpStatusCode: 404 }
I know my calling function down below is not the problem as I have not changed it, and it was working before, our entire DB of saleId's no longer work when they were working before. Has the function changed in some way?
paypal.sale.get(order.saleId, function (error, sale) {if (error) {console.log(error);} else {console.log(sale);}});
PayPal-Debug-ID
values: 62265d6a65fc6, 9170fb705cd23, 32ef48322473cIssue description
sale.get is returning
{ name: 'INVALID_RESOURCE_ID',
message: 'The requested resource ID was not found',
information_link: 'https://developer.paypal.com/docs/api/payments/#errors',
debug_id: '9170fb705cd23',
httpStatusCode: 404 },
httpStatusCode: 404 }
I know my calling function down below is not the problem as I have not changed it, and it was working before, our entire DB of saleId's no longer work when they were working before. Has the function changed in some way?
paypal.sale.get(order.saleId, function (error, sale) {
if (error) {
console.log(error);
} else {
console.log(sale);
}
});