我正在使用当前的PayPal自适应API(3.1)来验证带有GetVerifiedStatus()
的PayPal帐户。刚刚完成了示例中的配置。它适用于一个PayPal帐户(结果:SUCCESS),但是对于另一个帐户和正确的帐户数据,我刚刚得到“失败:无法确定PayPal帐户状态”。我必须将日志级别设置为“精细”,但不会获得任何有用的信息。
失败:
PayPal\Types\AA\GetVerifiedStatusResponse Object
(
[responseEnvelope] => PayPal\Types\Common\ResponseEnvelope Object
(
[timestamp] => 2017-12-04T08:33:17.185-08:00
[ack] => Failure
[correlationId] => 4dd18676af93
[build] => 36174696
)
[accountStatus] =>
[countryCode] =>
[userInfo] =>
[error] => Array
(
[0] => PayPal\Types\Common\ErrorData Object
(
[errorId] => 580023
[domain] => PLATFORM
[subdomain] => Application
[severity] => Error
[category] => Application
[message] => Cannot determine PayPal Account status
[exceptionId] =>
[parameter] =>
)
)
)
成功:
PayPal\Types\AA\GetVerifiedStatusResponse Object
(
[responseEnvelope] => PayPal\Types\Common\ResponseEnvelope Object
(
[timestamp] => 2017-12-04T08:08:04.179-08:00
[ack] => Success
[correlationId] => a009f4a0b25f6
[build] => 36174696
)
[accountStatus] => UNVERIFIED
[countryCode] =>
[userInfo] => PayPal\Types\AA\UserInfoType Object
(
[emailAddress] => ****
[accountType] => ****
[accountId] => ****
[name] => PayPal\Types\AA\NameType Object
(
[salutation] =>
[firstName] => ****
[middleName] =>
[lastName] => ****
[suffix] =>
)
[businessName] =>
)
[error] =>
)
您需要更多信息吗?我能改变什么?
最佳!