PayPal Sandbox新证书,提供超时处理请求错误

时间:2016-04-18 14:50:49

标签: paypal paypal-sandbox

PayPal Sandbox升级为使用SHA-256,2048位提供更安全的API证书。这是使用

中提供的openssl命令验证的

https://www.paypal-knowledge.com/infocenter/index?page=content&widgetview=true&id=FAQ1915&viewlocale=en_US

现在,当我在沙盒上使用现有的旧(SHA-1,1024位)API证书进行测试时,它运行正常。

但是当创建一个新的API证书(SHA-256,2048位)并用于在沙箱上进行测试时,它开始从沙箱中提供错误响应,

ACK=Failure L_ERRORCODE0=10001 L_SHORTMESSAGE0=Internal Error L_LONGMESSAGE0=Timeout processing request

请有人指出可能导致此错误的原因吗?

供参考发送到沙箱端点的PayPal请求(已修改),

METHOD = SetExpressCheckout
RETURNURL = https://local/ReturnPage
CANCELURL = https://local/ProcessCancel
ALLOWNOTE = 0
LOGOIMG = https://local/img/logo.png
ADDROVERRIDE = 1
EMAIL = xxx@xxx.com
SOLUTIONTYPE = Mark
BUTTONSOURCE = BtnSrc
BRANDNAME = My Brand
PAYMENTREQUEST_0_SHIPTONAME = Mr Joshi
PAYMENTREQUEST_0_SHIPTOSTREET = 300 Oxford Street
PAYMENTREQUEST_0_SHIPTOCITY = London
PAYMENTREQUEST_0_SHIPTOZIP = TE45 6ST
PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE = GB
PAYMENTREQUEST_0_SHIPTOPHONENUM = 09824112345
NOSHIPPING = 1
PAYMENTREQUEST_0_PAYMENTACTION = Sale
PAYMENTREQUEST_0_CURRENCYCODE = GBP
L_PAYMENTREQUEST_0_NAME0 = 101-Jeans
L_PAYMENTREQUEST_0_DESC0 = Jeans
L_PAYMENTREQUEST_0_AMT0 = 59.0
L_PAYMENTREQUEST_0_QTY0 = 1
L_PAYMENTREQUEST_0_NAME1 = Other payments
L_PAYMENTREQUEST_0_DESC1 = Other payments
L_PAYMENTREQUEST_0_AMT1 = -8.02
L_PAYMENTREQUEST_0_QTY1 = 1
PAYMENTREQUEST_0_ITEMAMT = 50.98
PAYMENTREQUEST_0_AMT = 53.97
PAYMENTREQUEST_0_SHIPPINGAMT = 2.99
MAXAMT = 53.97
VERSION = 112.0

我已经双重验证了API用户名和API passowrd。以及API证书。甚至从cert_key_pem.txt重新创建了API证书,该证书是从沙盒帐户下载的。

0 个答案:

没有答案