Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Auth / Capture Failures..?? #553
I have had a few reports of this happening from people, but then you tested and said it worked fine.
What's happening is that people are setting their order to be processed as Authorization, and that works fine. When they try to capture, though, they're getting an error that they don't have permissions to make the call.
I have another report of it now which confirms we must have something wrong.
The user submitted a ticket to PayPal MTS, and they confirmed that the DoCapture request we're sending does not contain any API credentials at all.
Of course, in our logs we're masking the API credentials, so we just see *** for those values in our logs. According to PayPal we're not actually sending anything for credentials in our DoCapture request, though, so we need to figure out what's going on there and be sure the credentials are included as necessary.
Here is another report of this happening.
I think our DoCapture request must be leaving the API credentials out entirely or something, but we can't tell that because our logs are masking with *** no matter what the value actually is.
On that note, we should add logic to our API log masks so that if the value is simply empty, then it leaves that way so we can see that. If it has any value, then go ahead and mask with ***.
Again, the previous calls are working fine with the credentials that are entered, but somehow the DoCapture is either pulling blank, or maybe pulling the wrong value (sandbox vs. live) for some reason..??
I think you've tested and it works for you in the sandbox, so it could even be a scenario where it doesn't happen unless you've got things set to live..??
Here's another report of this: https://www.angelleye.com/support/scp/tickets.php?id=767