我使用http://www.angelleye.com/download-angell-eye-php-class-library-for-paypal/的PHP库来验证paypal帐户的状态。在config中,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] =>排列 ( [接收者] => [类别] =>应用 [域名] =>平台 [ErrorID] => 580023 [ExceptionID] => [留言] =>无法确定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
)