0

标题是 Paypal NVP API 的错误消息。API 是TransactionSearch. 在我的 PHP 代码中,如果我设置了搜索参数"STATUS" => "Reversed",API 会返回这个结果:

'TIMESTAMP' => '2016-03-23T02:32:41Z',
'CORRELATIONID' => '77fcf63ee550e',
'ACK' => 'SuccessWithWarning',
'VERSION' => '109.0',
'BUILD' => '18316154',
'L_ERRORCODE0' => '11002',
'L_SHORTMESSAGE0' => 'Search warning',
'L_LONGMESSAGE0' => 'The number of results were truncated. Please change your search parameters if you wish to see all your results.',
'L_SEVERITYCODE0' => 'Warning'

但是,如果我不添加搜索参数"STATUS",API 返回成功!

所以,我想知道如何设置可以得到正确结果的搜索参数"STATUS" => "Reversed"

4

1 回答 1

1

你有很多反向交易吗?我问是因为可以从 TransactionSearch API 调用返回的最大事务数是 100。在这种情况下,API 响应看起来有超过 100 个命中。尝试缩小数据范围或寻找其他状态,看看是否仍然出现错误。无论如何,您可以在这里找到此 API 的技术参考指南:https ://developer.paypal.com/docs/classic/api/merchant/TransactionSearch_API_Operation_NVP/

于 2016-03-23T08:40:52.270 回答