• Resolved maltfield

    (@maltfield)


    Is cURL a requirement for this WooCommerce Stripe Payment Gateway plugin?

    I installed this plugin on my site. I added the API keys. I clicked “Test connection” and it returned “Connection successful!”

    But at the top of my WordPress Dashboard, I have a notification that says

    > WooCommerce Stripe – cURL is not installed.

    I re-read the plugin’s description and installation page, but I didn’t see a “Requirements” section that listed cURL

    * https://www.ads-software.com/plugins/woocommerce-gateway-stripe/#installation

    It’s not clear if cURL is required or if this plugin will fall-back to something else. After all, if cURL is a requirement, then how could I have gotten a successful connection to Stripe when testing the API keys?

    Please let me know if cURL is a strict requirement for this plugin. If it is, please update the installation page to state this (and the minimum version of cURL required).

    • This topic was modified 2 years, 5 months ago by maltfield.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Mirko P.

    (@rainfallnixfig)

    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.

    Thread Starter maltfield

    (@maltfield)

    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 2 years, 5 months ago by maltfield.
    Mirko P.

    (@rainfallnixfig)

    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.

    Thread Starter maltfield

    (@maltfield)

    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.

    Mirko P.

    (@rainfallnixfig)

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Is cURL a Reqiurement for this plugin?’ is closed to new replies.