Tok*_*tok 0 paypal paypal-adaptive-payments
HY,
我想使用PayPal API的GetVerifiedStatus.
所以我创建了我的应用程序,并且我有一个应用程序ID.
在沙盒中,一切正常,服务返回我的客户的状态.
但是当我打一个电话时我有这个错误:
"不允许用户执行此操作"
你有解决方案吗?
谢谢!
要求:
Array
(
[emailAddress] => myCustomer@email.com
[matchCriteria] => NONE
)
Run Code Online (Sandbox Code Playgroud)
回应:
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
)
)
Run Code Online (Sandbox Code Playgroud)
)
(Paypal GetVerifiedStatus带有"不允许用户执行此操作":这不是同一个问题,因为他用"无法确定PayPal帐户状态"更新错误)
小智 5
为了在实时环境中执行GetVerifiedStatus调用,您还需要在参数中传递firstName和lastName,并且它们需要与您正在检查的电子邮件地址的PayPal帐户一致.您还需要将matchCriteria设置为'NAME'.所以,您的请求看起来像:
Array (
[emailAddress] => myCustomer@email.com
[firstName] => myCustomerFirstName
[lastName] => myCustomerLastName
[matchCriteria] => NAME
)
Run Code Online (Sandbox Code Playgroud)