2013-10-29 2 views
0

Hy,Paypal API GetVerifiedStatus return 사용자가이 작업을 수행 할 수 없습니다.

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를 업데이트 해보세요. 비즈니스 계정으로 이동하여 확인하십시오.

5

실제 환경에서 GetVerifiedStatus 호출을 수행하려면 인수에서 firstName 및 lastName도 전달해야하며 검사 할 전자 메일 주소의 PayPal 계정과 일치해야합니다. 또한 matchCriteria를 'NAME'으로 설정해야합니다. 그래서 귀하의 요청은 다음과 같이 보일 것입니다 :

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

이것은 나를 위해 일했습니다. – PHPCoder