2013-10-29 64 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