问题
I'm making a request to the Permissions Service's GetBasicPersonalData method in Sandbox mode. I am passing in an access token that was returned by the GetAccessToken method.
I receive the following error
570058: "Authentication failed. User account is not confirmed"
I did some Googling and it seems the reason might be that the user has to confirm their email address by actioning the email they receive from PayPal. The problem is I'm not receiving such an email. I've created two different PayPal accounts in the sandbox, clicked the "Confirm email address" notification, and neither has received the email.
If I'm correct that I need this email to proceed, why isn't it appearing? Does this function not work in the sandbox?
If the error I'm getting (570058) is not related to this email, how else might I resolve it?
Thanks
回答1:
Instead of using an account created through www.sandbox.paypal.com, I used a sandbox account I created through developer.paypal.com, which didn't need to be confirmed.
来源:https://stackoverflow.com/questions/17182051/getbasicpersonaldata-returns-error-570058-authentication-failed-user-account