I found that in the transaction capture, I'm getting an error that looks like: {
"name": "AUTHENTICATION_FAILURE",
"message": "Authentication failed due to invalid authentication credentials or a missing Authorization header.",
"links": [
{
"href": "https://developer.paypal.com/docs/api/overview/#error",
"rel": "information_link"
}
]
} and it is effectively doing a refund. However, I'm not really sure what I'm supposed to be doing with this. In the docs for the server side checkout SDK (https://developer.paypal.com/docs/checkout/reference/server-integration/setup-sdk/#pass-the-partner-attribution-id), it doesn't mention anything about authentication. I found some other docs with information about a Bearer token, but I don't know how it fits in with this specific SDK. Also, it looks like the only way to get the token is through a cURL command, but I'm using NodeJS. If someone has insight on what I need to do next, that would be great.
... View more