Hi,
I have installed stripe extension (1.8.3 & 1.8.7) on Magento 2.3.4 but receiving below error each time I want to test either on live or test mode.
"Could not set up customer profile: Uexpected error communicating with Stripe. If this problem persists, let us know at support@stripe.com (Network error [errno 2]: easy handle already used in multi handle)"
I have contacted stripe but they are not helpful and asked me to contact Magento hillarious!
Also webhooks configuration fails when check on admin each time but webhooks link works.
Does anyone have the same problem and an idea how to resolve the issue?
Thanks!
Solved! Go to Solution.
Afer a bit of research, and editing a file of stripe, the issue is resolved now.
find;
protected $enablePersistentConnections = true; (around lin 47)
in
/vendor/stripe/stripe-php/lib/HttpClient/CurlClient.php
replace it with
protected $enablePersistentConnections = false;
It resolved the problem, webhooks are successfully worked and payments started to go through and captured.
Thanks to kennybuc on https://github.com/stripe/stripe-php/issues/918#issuecomment-617571512
Afer a bit of research, and editing a file of stripe, the issue is resolved now.
find;
protected $enablePersistentConnections = true; (around lin 47)
in
/vendor/stripe/stripe-php/lib/HttpClient/CurlClient.php
replace it with
protected $enablePersistentConnections = false;
It resolved the problem, webhooks are successfully worked and payments started to go through and captured.
Thanks to kennybuc on https://github.com/stripe/stripe-php/issues/918#issuecomment-617571512