问题描述
我正在从 java 调用 PayPal API 交易搜索 [SOAP],但没有得到任何结果.
这是我的搜索参数
交易开始日期:- 2012 年 3 月 4 日
发票 ID :- '1000010'
然而,响应是 SUCCESS 但没有支付交易.我查了一下,这笔款项存在于我的帐户 [今天创建] 中.详情:
1) sdk jar 文件:"merchant-java-sdk-1.2.95.jar"
I am calling PayPal API transaction Search [SOAP] from java and getting no results .
Here are my search Parameters
Transaction start date :- 04-Mar-2012
InvoiceId :- '1000010'
However the response is SUCCESS but with NO payment transactions. I checked and this payment is present in my account [ created today ] . Details :
1) sdk jar file : "merchant-java-sdk-1.2.95.jar"
2) Related properties/configuration file values.
service.Binding=SOAP
service.RedirectURL=https://www.sandbox.paypal.com/webscr&cmd=
service.DevCentralURL=https://developer.paypal.com
service.EndPoint.PayPalAPI=https://api-3t.sandbox.paypal.com/2.0
service.EndPoint.PayPalAPIAA=https://api-3t.sandbox.paypal.com/2.0
推荐答案
如果您当前指向的是沙箱,那么在通过发票 ID 进行搜索时,存在阻止 TransactionSearch API 正常工作的问题.例如,如果您仅根据开始日期进行搜索,您应该会返回结果.
If you are currently pointing to sandbox, there is an issue that is preventing the TransactionSearch API from working correctly when searching via the invoice id. For example if you did a search just based on the start date, you should get results back.
这篇关于贝宝交易搜索 API 不返回任何结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!