wp_remote_post() failed. PayPal IPN won't work with your server. Contact your ho
-
Ever since updating WC to v2.6 i get this message on all installs
wp_remote_post() failed. PayPal IPN won’t work with your server. Contact your hosting provider. Error: Unsupported SSL protocol version
I have checked the servers and all are able to use tls 1.2 all report
PayPal_Connection_OKbool(true) when testing to paypal.Other software using ipn work 100% fine.
-
scotteh11 the report is accurate. That is the version PHP is bundled with. So you either need them to update this, or to switch to a version of PHP with a higher version of Open SSL. See the above replies to see more explanation.
If the host cannot help, maybe its time to switch. More and more services will be enforcing TLS 1.2 and secure version of OpenSSL. Best to get it resolved sooner rather than later.
cheers for the help Mike, i’ll keep on at them.Hopefuly they sort it out i cant bare to move servers again!
Appreciate the goodwork your doing on Woocommerce ??
Scott@ pagnor @azli
Can you please elaborate on the steps?
Do I recompile and remove CURLSSL then Yum Update? I get the “No Packages marked for Update” using yum..
@azli Jahroni Just wanted to thank you for your steps to fix this!
I’ve got a managed VPS server, and support where having difficulty fixing the wp_remote_post() once I gave them a link to your comment, they where succesfuly able to update OpenSSL 1.0.1e-fips.
Thanks man!!
I’m experiencing this same issue on one of our sites, however, Woocommerce is showing “OpenSSL/1.0.1e-fips mod_bwlimited” is this not supported?
I only experienced this issue after adding SSL to the site, but if I rename the curl ssl folder woocomerce says everything is fine.
Any recommendations on how to resolve this issue?
@scotteh11 if you still fighting with your hosting provider , I can advise you to create file phpinfo.php and put on public_html directory. They can analysis all of the server PHP environment settings.
if they still blame you or dev for this issue, I’m voting +1 to @mike Jolley advice its times to switch another hosting provider.
Create phpinfo.php
<? phpinfo(); ?>
@grandmagustfront ur welcome and I’ve happy to see the issue is now fixed.
@dstana could you provide a screenshot for woocommerce status ?
I don’t see an option to post screenshots here, but as I mentioned the status page now says everything is normal. However, for this to occur I had to remove the “curlssl” folder on our server.
@azli Are you sure its “yum update curlssl”?
This is what I get when I try to run that command:
No Match for argument: curlssl No package curlssl available. No Packages marked for Update
I too have been battling this issue with my host. They have indicated that they have the latest safe versions of the said server requirements by PayPal.I have also tested the server using the plugin; TLS 1.2 Compatibility Test: by Stranger Studios with positive results.
The puzzling thing is, paypal tests seem to communicate perfectly with my website, Stripe tests on the other hand bring in the error soon after entering the test card details.
Have a loot at the system status report and advice. Thank you.
### WordPress Environment ### Home URL: https://mysite.com Site URL: https://mysite.com WC Version: 2.6.1 Log Directory Writable: ? WP Version: 4.5.3 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US ### Server Environment ### Server Info: Apache PHP Version: 7.0.7 PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.46.0 OpenSSL/1.0.2e SUHOSIN Installed: – MySQL Version: 5.6.27 Max Upload Size: 2 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? wp_remote_post() failed. PayPal IPN won't work with your server. Contact your hosting provider. Status code: 0 Remote Get: ? ### Database ### WC Database Version: 2.6.1 : woocommerce_sessions: ? woocommerce_api_keys: ? woocommerce_attribute_taxonomies: ? woocommerce_downloadable_product_permissions: ? woocommerce_order_items: ? woocommerce_order_itemmeta: ? woocommerce_tax_rates: ? woocommerce_tax_rate_locations: ? woocommerce_shipping_zones: ? woocommerce_shipping_zone_locations: ? woocommerce_shipping_zone_methods: ? woocommerce_payment_tokens: ? woocommerce_payment_tokenmeta: ? MaxMind GeoIP Database: ? ### Active Plugins (23) ### Anti-spam: by webvitaly – 4.2 bbPress: by The bbPress Community – 2.5.9 rtMedia for WordPress, BuddyPress and bbPress: by rtCamp – 4.0.1 BuddyPress: by The BuddyPress Community – 2.6.0 Contact Form 7: by Takayuki Miyoshi – 4.4.2 Hide Admin Bar From Non-admins: by Stranger Studios – 1.0 WPBakery Visual Composer: by Michael M - WPBakery.com – 4.11.2.1 MailChimp for WordPress: by ibericode – 3.1.10 Massive Addons for Visual Composer: by MassivePixelCreation – 2.0 Paid Memberships Pro: by Stranger Studios – 1.8.9.3 Paid Memberships Pro - MailChimp Add On: by Stranger Studios – 2.0.2 Paid Memberships Pro - Register Helper Add On: by Stranger Studios – 1.3 PMPro Roles: by Josh Levinson – 1.0 Paid Memberships Pro - WooCommerce Add On: by Stranger Studios – 1.2.11 Slider Revolution: by ThemePunch – 5.1.5 SSL Insecure Content Fixer: by WebAware – 2.1.6 TLS 1.2 Compatibility Test: by Stranger Studios – 1.0.1 WooCommerce SSL Seal: by WP Fix It – 1.1 WooCommerce Stripe Gateway: by Automattic – 3.0.2 WooCommerce Pretty Emails: by MB Création – 1.6 WooCommerce: by WooThemes – 2.6.1 Yoast SEO Premium: by Team Yoast – 3.2.2 Local SEO for Yoast SEO: by Team Yoast and Arjan Snaterse – 3.2.1 ### Settings ### Force SSL: ? Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 ### API ### API Enabled: ? ### WC Pages ### Shop Base: #1364 - /shop/ Cart: #1365 - /cart/ Checkout: #1366 - /checkout/ My Account: #1367 - /my-account/ ### Taxonomies ### Product Types: external (external) grouped (grouped) simple (simple) variable (variable) ### Theme ### Name: the theme Version: – 0 is available Author URL: https://themesite.com Child Theme: ? Parent Theme Name: theme Parent Theme Version: 2.9.2 Parent Theme Author URL: https://themeforest.net/user/thetheme WooCommerce Support: ? ### Templates ### Overrides: .../woocommerce/archive-product.php .../woocommerce/cart/cart-empty.php .../woocommerce/cart/cart.php .../woocommerce/cart/mini-cart.php .../woocommerce/content-single-product.php .../woocommerce/content-widget-product.php .../woocommerce/loop/orderby.php .../product-searchform.php .../woocommerce/single-product/add-to-cart/external.php .../woocommerce/single-product/add-to-cart/grouped.php .../woocommerce/single-product/add-to-cart/simple.php .../woocommerce/single-product/add-to-cart/variable.php .../woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php .../woocommerce/single-product/add-to-cart/variation.php .../woocommerce/single-product/tabs/tabs.php .../woocommerce/single-product-reviews.php .../woocommerce/single-product.php .../woocommerce/taxonomy-product_cat.php .../woocommerce/taxonomy-product_tag.php
I am no longer facing the problem. The solution was given by my host.
They advised me to check blocked IP addresses on my outgoing connections. Turns out the Stripe gateway IP had been blocked and all I had to do was unblock it.
I hope this solution helps someone.
Good luck!
Welps, I’m sure this WooCommerce update broke stuff for EVERYONE using PHP 5.5 and below.
So I had to update to 5.6 to fix this. I suppose all sites serving PayPal payments will need to update to PHP 5.6?
I am also having this problem. System Info shows:
PHP 5.6.22
cUrl: 7.38.0
OpenSSL 1.0.2h
MySQL 5.5.48
Remote Post: wp_remote_post() failed. PayPal IPN won’t work with your server. Contact your hosting provider. Error: Unsupported SSL protocol versionIf it were broken in 5.5 < it would show on travis-ci.org/woothemes/woocommerce. It’s not – its just your openSSL versions and server configs e.g blocked IP or firewall. Logging in paypal settings will confirm anything, as will the status report.
No need to speculate further; there are comments above which state this and there are solutions. If in doubt, contact the host.
Pinging a mod to close this thread since it’s starting to go off topic and the OP is solved.
My issue was solved by my host after I directed them to read Aziz’ post: https://www.ads-software.com/support/topic/wp_remote_post-failed-paypal-ipn-wont-work-with-your-server-contact-your-ho?replies=29#post-8536640
Not sure if they did exactly that, but it pointed them in the right direction.Hi Mike, just wanted to say that for me it was broken until I updated PHP from 5.5 to 5.6.
Even though my server had a newer version of OpenSSL, the older PHP version caused WooCommerce to detect the older version of OpenSSL. Updating to 5.6 fixed this.
As you can see from all the posts, there are many others who are experiencing this problem.
- The topic ‘wp_remote_post() failed. PayPal IPN won't work with your server. Contact your ho’ is closed to new replies.