Need curl and curlssl but curlssl not working
Had trouble making a title because I am a bit confused.
I have a WordPress website that requires I have cURL enabled for wp_remote_post() and get() for a PayPal gateway in WooCommerce.
My PHP is a little out of date while we work on re-doing a PHP heavy website.
PHP version: 5.5.38
cURL version: 7.38.0, OpenSSL/1.0.0
Remote post: wp_remote_post() failed. Contact your hosting provider. cURL error 35: Unsupported SSL protocol version
Remote get: wp_remote_get() failed. Contact your hosting provider. 200
So, when I disable curlSSL and enable cURL, everything works! Paypal can communicate with the server and all is well.
However, disabling curlSSL gives me an error on a Magento store that is using Authorize.net!
Now, I get an error and can't process payments. So, I've switched back on curlSSL and magento is working, but the paypal for woocommerce is dead again.
Since I can't enable both at the same time, (which I read curlSSL does cURL just gives SSL Support) then what do I do? Is it the out-dated PHP? Or is it an openSSL problem? Considering I narrowed down what works for each and what doesn't, I imagine it has to do with the curl.
The SSL certificate on the WordPress website is one given through cpanels autossl.
The one on the magento store I believe was purchased separately.
If anyone could provide some insight on the situation I would be forever thankful.
John
Please sign in to leave a comment.
Comments
0 comments