Hi @maltfield!
Payment gateways normally use cURL to communicate with remote servers to authorize payments. This is covered in the system status guide here:
https://woocommerce.com/document/understanding-the-woocommerce-system-status-report/#system-status
I recommend contacting your host to enable cURL and also checking the configuration of any caching and security plugins on your site to make sure that they are not intermittently blocking the connection to Stripe.
Cheers.
Thanks Mirko for your response.
I run the VPS myself. For security reasons, I disable many dangerous and unnecessary PHP function like ini_set(), shell_exec(), curl_exec(), etc.
The link you provided says how you can get the cURL version from a “WooCommerce Status Report”, but it doesn’t state if this plugin requires cURL to function properly.
In fact, WooCommerce runs absolute fine with curl disabled. I’m just not sure about *this* plugin.
There’s many ways a plugin can communicate with a payment gateway, so cURL is not always a requirement for payment gateways.
My question is: is cURL a requirement for this plugin? And if it is, can the install documentation be updated to state this requirement?
-
This reply was modified 3 years, 9 months ago by
maltfield.
Hey @maltfield,
WooCommerce runs absolute fine with curl disabled
That’s true but WooCommerce core isn’t a payment gateway plugin.
is cURL a requirement for this plugin?
I didn’t test it out without cURL, but it seems that it’s required as some functionalities may not work as expected, especially when we refer to payment gateway plugins like WooCommerce Stripe.
can the install documentation be updated to state this requirement?
There’s a general reference to cURL that is used by several of our integrations here:
https://woocommerce.com/document/server-requirements/#section-3
If you think it might be better to indicate this on the plugin’s support page, please get in touch internally via https://woocommerce.com/my-account/create-a-ticket/, and we’ll check out your suggestion.
Cheers.
I do think plugin’s requirements should be documented, but first I’d like to hear from a developer on this plugin to establish if it’s a requirement or not.
Hi @maltfield,
When I deactivate cURL on the server I’m getting a warning that cURL is not installed.

Link to image: https://snipboard.io/7WBJuK.jpg
Therefore, cURL seems needed for the WooCommerce Stripe plugin to work properly. However, since Stripe developers do not hang out on this forum, you might want to raise the topic on Github, specifically in the public WooCommerce Stripe repository, this is where developers look into issues like the one you reported in this thread and may give you additional clarification on what may not work if you disable cURL on the server.
* https://github.com/woocommerce/woocommerce-gateway-stripe/issues
All the best.