• Resolved rebeccaz

    (@rebeccaz)


    Good morning!

    We’ve been having some issues on our site, so I ran the PHP Compatibility plugin, and Direct Stripe generated this error, so I wanted to let you know!

    FILE: /wp-content/plugins/direct-stripe/vendor/stripe/stripe-php/lib/HttpClient/CurlClient.php
    ———————————————————————————————————————————————–
    FOUND 1 ERROR AFFECTING 1 LINE
    ———————————————————————————————————————————————–
    201 | ERROR | The constant “CURL_HTTP_VERSION_2TLS” is not present in PHP version 7.0.6 or earlier

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @rebeccaz,

    Thank you for reporting this log.

    It comes from the Stripe API which is defining tha constant CURL_HTTP_VERSION_2TLS when it is not defined on the server, it causes this Error for PHP version 7.0.6 or earlier that don’t have it defined by default.
    It shouldn’t cause issues with the Stripe button or the website, could you confirm that the Stripe button is working as expected ?

    Best wishes,

    Nicolas

    Thread Starter rebeccaz

    (@rebeccaz)

    Yes, the Stripe button is working as expected ?? I just wanted to pass that along.

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Thank you for sharing, please let me know if you see another error again.

    Best wishes,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Compatibility with PHP 7.0’ is closed to new replies.