【发布时间】:2016-05-07 02:41:00
【问题描述】:
我们设置了多个 Woo Commerce 商店,但其中一个我们应用了 SSL 证书。
在带有 SSL 证书的那一个上,我们在 Woo Commerce 支付宝日志中收到错误“错误响应:SSL 连接错误”。有没有人知道原因可能是什么。
我已尝试将通知 URL 更改为 http 连接,但仍然产生相同的问题。
WooCommerce PayPal 日志如下
01-29-2016 @ 10:25:25 - Generating payment form for order 1869. Notify URL: https://frictionfreeshaving.com/wc-api/WC_Gateway_Paypal/
01-29-2016 @ 10:25:48 - Checking IPN response is valid
01-29-2016 @ 10:25:48 - IPN Request: Array
(
[body] => Array
(
[cmd] => _notify-validate
[transaction_subject] => Subscription 1870 (Order 1869) - test-razor
[payment_date] => 02:25:44 Jan 29, 2016 PST
[txn_type] => subscr_payment
[subscr_id] => I-0TFMV85ERGCJ
[last_name] => singh
[residence_country] => GB
[item_name] => Subscription 1870 (Order 1869) - test-razor
[payment_gross] =>
[mc_currency] => GBP
[business] => tjmailcoms@gmail.com
[payment_type] => instant
[protection_eligibility] => Ineligible
[verify_sign] => ALUw10OT3.wkDPQ73JiKtXApC16gA24mWOunWinyGFBel4bkL0L8u3O-
[payer_status] => verified
[test_ipn] => 1
[payer_email] => tjmailcoms03@gmail.com
[txn_id] => 41285066KK228700R
[receiver_email] => tjmailcoms@gmail.com
[first_name] => tejinder
[invoice] => WC-10011869
[payer_id] => M7A8DVMKC4GCW
[receiver_id] => XK2LNP4PTGQUU
[payment_status] => Completed
[payment_fee] =>
[mc_fee] => 0.23
[mc_gross] => 1.00
[custom] => {"order_id":1869,"order_key":"wc_order_56ab3e14c01b3","subscription_id":1870,"subscription_key":"wc_order_56ab3e14e7922"}
[charset] => windows-1252
[notify_version] => 3.8
[ipn_track_id] => f7146428bb012
)
[timeout] => 60
[httpversion] => 1.1
[compress] =>
[decompress] =>
[user-agent] => WooCommerce/2.3.11
)
01-29-2016 @ 10:25:48 - IPN Response: WP_Error Object
(
[errors] => Array
(
[http_request_failed] => Array
(
[0] => SSL connect error
)
)
[error_data] => Array
(
)
)
01-29-2016 @ 10:25:48 - Received invalid response from PayPal
01-29-2016 @ 10:25:48 - Error response: SSL connect error
01-29-2016 @ 10:25:52 - Checking IPN response is valid
01-29-2016 @ 10:25:53 - IPN Request: Array
(
[body] => Array
(
[cmd] => _notify-validate
[txn_type] => subscr_signup
[subscr_id] => I-0TFMV85ERGCJ
[last_name] => singh
[residence_country] => GB
[mc_currency] => GBP
[item_name] => Subscription 1870 (Order 1869) - test-razor
[business] => tjmailcoms@gmail.com
[recurring] => 1
[verify_sign] => AFUzd6d5BFLcPs.756upyW0L6Uo6A-NLMyaoJ69kQZg1yL4yEsY4gTMf
[payer_status] => verified
[test_ipn] => 1
[payer_email] => tjmailcoms03@gmail.com
[first_name] => tejinder
[receiver_email] => tjmailcoms@gmail.com
[payer_id] => M7A8DVMKC4GCW
[invoice] => WC-10011869
[reattempt] => 1
[subscr_date] => 02:25:42 Jan 29, 2016 PST
[custom] => {"order_id":1869,"order_key":"wc_order_56ab3e14c01b3","subscription_id":1870,"subscription_key":"wc_order_56ab3e14e7922"}
[charset] => windows-1252
[notify_version] => 3.8
[period3] => 1 D
[mc_amount3] => 1.00
[ipn_track_id] => f7146428bb012
)
[timeout] => 60
[httpversion] => 1.1
[compress] =>
[decompress] =>
[user-agent] => WooCommerce/2.3.11
)
01-29-2016 @ 10:25:53 - IPN Response: WP_Error Object
(
[errors] => Array
(
[http_request_failed] => Array
(
[0] => SSL connect error
)
)
[error_data] => Array
(
)
)
01-29-2016 @ 10:25:53 - Received invalid response from PayPal
01-29-2016 @ 10:25:53 - Error response: SSL connect error
01-29-2016 @ 10:30:08 - Checking IPN response is valid
01-29-2016 @ 10:30:09 - IPN Request: Array
(
[body] => Array
(
[cmd] => _notify-validate
[txn_type] => subscr_cancel
[subscr_id] => I-0TFMV85ERGCJ
[last_name] => singh
[residence_country] => GB
[mc_currency] => GBP
[item_name] => Subscription 1870 (Order 1869) - test-razor
[business] => tjmailcoms@gmail.com
[recurring] => 1
[verify_sign] => Am729F3QdZ4ucintGF7EZMXFQKlgAKfHAWYr4ohDcQkhr0xx0H34n8lT
[payer_status] => verified
[test_ipn] => 1
[payer_email] => tjmailcoms03@gmail.com
[first_name] => tejinder
[receiver_email] => tjmailcoms@gmail.com
[payer_id] => M7A8DVMKC4GCW
[invoice] => WC-10011869
[reattempt] => 1
[subscr_date] => 02:29:50 Jan 29, 2016 PST
[custom] => {"order_id":1869,"order_key":"wc_order_56ab3e14c01b3","subscription_id":1870,"subscription_key":"wc_order_56ab3e14e7922"}
[charset] => windows-1252
[notify_version] => 3.8
[period3] => 1 D
[mc_amount3] => 1.00
[ipn_track_id] => 542b79c8e6b4
)
[timeout] => 60
[httpversion] => 1.1
[compress] =>
[decompress] =>
[user-agent] => WooCommerce/2.3.11
)
01-29-2016 @ 10:30:09 - IPN Response: WP_Error Object
(
[errors] => Array
(
[http_request_failed] => Array
(
[0] => SSL connect error
)
)
[error_data] => Array
(
)
)
01-29-2016 @ 10:30:09 - Received invalid response from PayPal
01-29-2016 @ 10:30:09 - Error response: SSL connect error
因此,没有订单正在处理,但正在付款。任何帮助将不胜感激,因为我没有想法。
Tj
【问题讨论】:
-
由于POODLE vulnerability,PayPal 自 2016 年 1 月 19 日起停止接受通过特定协议的流量。对此已经有很多问题的回答,但基本上归结为您需要在 Web 服务器环境中更新 OpenSSL、cURL 和 Apache 软件堆栈。
-
@AndrewAngell 谢谢。我想我将不得不为此与我们的托管服务提供商取得联系? PS。感谢您的 Wordpress IPN 插件,因为我们也在其他网站上使用它。
-
很高兴它对你有用(当 SSL 事情没有发生时)。 :)
标签: ssl paypal woocommerce ssl-certificate paypal-ipn