2013-10-29 66 views
0

Hy,PayPal API GetVerifiedStatus返回用户不允许执行此操作

我想使用PayPal API的GetVerifiedStatus。

所以我创建了我的应用程序,并且我有一个应用程序ID。

在沙箱中,一切正常,服务返回我的客户的状态。

但是当我做一个现场电话我有这样的错误:

“不允许用户执行此操作”

你有一个解决方案?

谢谢!

请求:

Array 
(
    [emailAddress] => [email protected] 
    [matchCriteria] => NONE 
) 

响应:

stdClass Object 
(
    [responseEnvelope] => stdClass Object 
     (
      [timestamp] => 2013-10-29T06:47:26.456-07:00 
      [ack] => Failure 
      [correlationId] => 21820ac9a046c 
      [build] => 7784095 
     ) 

    [error] => Array 
     (
      [0] => stdClass Object 
       (
        [errorId] => 550001 
        [domain] => PLATFORM 
        [subdomain] => Application 
        [severity] => Error 
        [category] => Application 
        [message] => User is not allowed to perform this action 
       ) 

     ) 

Paypal GetVerifiedStatus with "User is not allowed to perform this action":这是不一样的问题,因为他更新 “不能确定贝宝账户状态” 的错误)

回答

-1

尝试更新商家PayPal accou nt添加到企业帐户并进行验证。

5

为了在实时环境中执行GetVerifiedStatus调用,您还需要在参数中传递firstName和lastName,并且它们需要与您正在检查的电子邮件地址的PayPal帐户的名称和姓氏保持一致。您还需要将matchCriteria设置为'NAME'。因此,您的请求将如下所示:

Array (
    [emailAddress] => [email protected] 
    [firstName]  => myCustomerFirstName 
    [lastName]  => myCustomerLastName 
    [matchCriteria] => NAME 
) 
+0

This worked for me .. – PHPCoder