- This topic has 2 replies, 2 voices, and was last updated 4 years, 6 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Stripe payment plugins for your WordPress site
· ·
Home › Forums › Stripe Payments Plugin › ERROR WITH STRIPE
my customers are getting this error when trying to pay using plugin. i already disabled WooCommerce. it was working fine until about 15 days ego.
Error occurred: Unexpected error communicating with Stripe. If this problem persists, let us know at [email protected]. (Network error [errno 2]: easy handle already used in multi handle)
UPDATE
FIXED BY ADDING THIS CODE to CurlClient.php
go to plugin on your wordpress using your hosting cpanel
includes/stripe/lib/HttpClient/CurlClient.php
change code
from
protected $enablePersistentConnections = true;
to
protected $enablePersistentConnections = false;
hope this help anyone facing this issue
Hi and thank you for your report.
This seems to be either Stripe PHP SDK or CentOS\Curl issue.
I was unable to reproduce this on my test server (it’s not running CentOS though).
Anyway, I have just released a new testing version with additional settings option called Disable Curl Persistent Connections
. It can be found on WP Dashboard -> Stripe Payments, “Avanced Settings” tab.
When this option is enabled, it does the same thing that you code does – it instructs Stripe PHP SDK to disable persistent connections for Curl.
You can get latest testing version here: https://s-plugins.com/testing-version/