Can't verify(check) paypal account

后端 未结 2 1773
醉话见心
醉话见心 2020-12-21 11:01

I need to verify PayPal account, when user sign_up.

I have function(source - http://curry.byteally.com/finding-verification-status-of-a-paypal-account-ruby-on-rails-p

2条回答
  •  情话喂你
    2020-12-21 11:37

    The API call structure is sound.

    However, when you say you entered your credentials, did you make sure that you are using the right credentials for the right environment? Live credentials, and live accounts do not exist within the sandbox and viceversa. You can't check a live account's status against the checkbox because it simply does not exists in the sandbox "universe".

    That would be the first thing to look at. If you feel your environments are correct, can you post the contents of res.content to see what came back from the HTTP call?

提交回复
热议问题