我使用来自http://www.angelleye.com/download-angell-eye-php-class-library-for-paypal/的PHP 库来验证贝宝帐户的状态。在配置中,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
( [Errors] => Array ( [0] => Array ( [Receiver] => [Category] => Application [Domain] => PLATFORM [ErrorID] => 580023 [ExceptionID] => [Message] => 无法确定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
)