"Reversed",API 会返回以-6ren">
gpt4 book ai didi

php - Paypal NVP TransactionSearch 错误消息 "The number of results were truncated"

转载 作者:太空宇宙 更新时间:2023-11-03 16:25:00 25 4
gpt4 key购买 nike

标题是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"

获得正确的结果

最佳答案

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

关于php - Paypal NVP TransactionSearch 错误消息 "The number of results were truncated",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36169146/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com