we have multiple woo commerce stores set 1 have ssl certificate applied it.
on 1 ssl certificate error "error response: ssl connect error" in woo commerce pay pal logs. has got clue reason be.
i have tried changing notify url http connection instead still produces same issue.
woocommerce paypal log below
01-29-2016 @ 10:25:25 - generating payment form order 1869. notify url: https://frictionfreeshaving.com/wc-api/wc_gateway_paypal/ 01-29-2016 @ 10:25:48 - checking ipn response 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 paypal 01-29-2016 @ 10:25:48 - error response: ssl connect error 01-29-2016 @ 10:25:52 - checking ipn response 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 paypal 01-29-2016 @ 10:25:53 - error response: ssl connect error 01-29-2016 @ 10:30:08 - checking ipn response 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 paypal 01-29-2016 @ 10:30:09 - error response: ssl connect error
due no orders being processed payment being taken. appreciated i'm out of ideas.
tj
copying previous answer here:
paypal have rolled out security updates on sandbox (production updated in june) https://devblog.paypal.com/upcoming-security-changes-notice/
most importantly, tls 1.0 , 1.1 no longer accepted sandbox, you'll need make sure tls 1.2 being used forcing curl option, e.g:
$curl->setoption(curlopt_sslversion,6);
you'll need openssl 1.0.1+ work. can wait woocommerce release patch themselves, or can make tls 1.2 work automatically (the common cipher deduced during ssl handshake) updating php 5.5.19+ , (lib)curl 7.34+.
Comments
Post a Comment