我使用来自 http://www.angelleye.com/download-angell-eye-php-class-library-for-paypal/ 的 PHP 库获取 Paypal 帐户的验证状态。在配置中,api_username、api_password 和 api_signature 来自 Verified 和 Business。但它回应
Array
(
[Errors] => Array
(
[0] => Array
(
[Receiver] =>
[Category] => Application
[Domain] => PLATFORM
[ErrorID] => 550001
[ExceptionID] =>
[Message] => User is not allowed to perform this action
[Parameter] =>
[Severity] => Error
[Subdomain] => Application
)
)
[Ack] => Failure
[Build] => 7784095
[CorrelationID] => 9beb77e429506
[Timestamp] => 2013-09-20T03:02:59.383-07:00
[AccountStatus] =>
[CountryCode] =>
[EmailAddress] =>
[AccountID] =>
[BusinessName] =>
[Salutation] =>
[FirstName] =>
[MiddleName] =>
[LastName] =>
[Suffix] =>
[XMLRequest] => ReturnAllen_USvinhnt.dev@gmail.comNONE
[XMLResponse] => 2013-09-20T03:02:59.383-07:00Failure9beb77e4295067784095550001PLATFORMApplicationErrorApplicationUser is not allowed to perform this action
)
那么,我想知道如何以及如何检查 Paypal 帐户的验证状态?
更新
我发布这个数据
$GetVerifiedStatusFields = array(
'EmailAddress' => 'vinhnt.dev@gmail.com',
'FirstName' => 'Vinh Trung',
'LastName' => 'Nguyen',
'MatchCriteria' => 'NAME'
);
然后,在这里回复:
Array
( [错误] => 数组 ( [0] => 数组 ( [接收器] => [类别] => 应用 [域] => 平台 [错误 ID] => 580023 [异常 ID] => [消息] => 无法确定 PayPal 帐户状态 [参数] => [严重性] => 错误 [子域] => 应用 )
)
[Ack] => Failure
[Build] => 7784095
[CorrelationID] => fd4782eabeda1
[Timestamp] => 2013-09-20T23:53:51.560-07:00
[AccountStatus] =>
[CountryCode] =>
[EmailAddress] =>
[AccountID] =>
[BusinessName] =>
[Salutation] =>
[FirstName] =>
[MiddleName] =>
[LastName] =>
[Suffix] =>
[XMLRequest] => ReturnAllen_USvinhnt.dev@gmail.comNAMEVinh TrungNguyen
[XMLResponse] => 2013-09-20T23:53:51.560-07:00Failurefd4782eabeda17784095580023PLATFORMApplicationErrorApplicationCannot determine PayPal Account status
)
最佳答案
根据docs , GetVerifiedStatus 仅适用于 matchCriteria=NAME 和强制性的名字/姓氏。
关于php - Paypal GetVerifiedStatus "User is not allowed to perform this action",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18914223/