客户结账时出现PayPal错误

时间:2016-04-29 13:50:59

标签: paypal payment

我的网站是www.a1mcganns.co.uk

我在使用PayPal时遇到与客户完成付款的问题。

他们收到此错误消息

  1. PayPal回复:
  2. - >
  3. 与' api-3t.paypal.com/nvp'
  4. 建立新联系
  5. 与CURL方法成功连接
  6. 发送此参数:
  7. METHOD = SetExpressCheckout&安培; VERSION = 106安培; PWD = L2JP7EMP7JR32JCP&安培; USER = sales_api1.a1mcganns.co.uk&安培; SIGNATURE = AENSDlLTRY8C54MMOG29Y0inxhFWAgY-7uEg9VqBu-bS11n1QZx2H3Nv&安培; CANCELURL = HTTP%3A%2F%2Fwww.a1mcganns.co.uk%2Fgb %2Forder%3Fpaypal_ec_canceled%3D1%26安培; RETURNURL = HTTP%3A%2F%2Fwww.a1mcganns.co.uk%2Fmodules%2Fpaypal%2Fexpress_checkout%2Fpayment.php&安培; NOSHIPPING = 1&安培; BUTTONSOURCE = PRESTASHOP_EC&安培; L_PAYMENTREQUEST_0_NUMBER0 = 1733&安培; L_PAYMENTREQUEST_0_NAME0 = Cycliq +粉煤灰+ 12 +前面+ 1080 +摄像机+和+ 400 +管腔+自行车+光+%28Includes + 16GB + SD +卡%29&安培; L_PAYMENTREQUEST_0_DESC0 = Inludes + 16GB + SD +卡...&安培; L_PAYMENTREQUEST_0_AMT0 = 229.99&安培; L_PAYMENTREQUEST_0_QTY0 = 1&安培; PAYMENTREQUEST_0_PAYMENTACTION =塞尔&安培; PAYMENTREQUEST_0_CURRENCYCODE = GBP&安培; PAYMENTREQUEST_0_SHIPPINGAMT = 0.00&安培; PAYMENTREQUEST_0_ITEMAMT = 229.99&安培; PAYMENTREQUEST_0_AMT = 229.99&安培; ADDROVERRIDE = 1&安培; EMAIL =菲尔%40wilkinson3.fsworld.co.uk&安培; PAYMENTREQUEST_0_SHIPTONAME = p +威尔金森&安培; PAYMENTREQUEST_0_SHIPTOPH ONENUM =%2B447595914321和放大器; PAYMENTREQUEST_0_SHIPTOSTREET = 63安培; PAYMENTREQUEST_0_SHIPTOSTREET2 =北安普顿+巷+北美和安培; PAYMENTREQUEST_0_SHIPTOCITY =安普顿&放大器; PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE = GB&放大器; PAYMENTREQUEST_0_SHIPTOZIP = NN3 + 7QY和放大器; SOLUTIONTYPE =鞋底和放大器;的LandingPage =登录和放大器; USER = sales_api1.a1mcganns.co.uk和放大器; PWD = L2JP7EMP7JR32JCP&安培; SIGNATURE = AENSDlLTRY8C54MMOG29Y0inxhFWAgY-7uEg9VqBu-bS11n1QZx2H3Nv
  8. 使用CURL方法发送失败!错误:无法解析主持人' api-3t.paypal.com'
  9. 使用fsockopen方法连接失败
  10. 我希望有人可以指出我正确的方向来解决问题

    非常感谢

    此致 菲尔

1 个答案:

答案 0 :(得分:0)

Check the curl error确切了解发生了什么。我的猜测是,你会得到一些关于" ssl握手失败的信息"。

如果是这种情况,您需要查看this post about POODLE

问题主要归结为服务器软件堆栈过时。具体来说,从POODLE帖子......

  

截至2016年1月1日,PayPal现在仅支持沙盒上的TLS 1.2(并且在6月同样适用于生产系统)。

     

如果您想使用TLS 1.2,您至少需要升级到OpenSSL 1.0.1,然后您才能将CURLOPT_SSLVERSION设置为6(TLS 1.2)。

     

如果您希望在SSL请求期间自动使用TLS 1.2,您还需要升级到PHP 5.5.19+(这是理想的解决方案,但许多项目仍在较旧的PHP版本上)。