• I have installed your plugin and deactivate all other plugins other than woocommerce. I have followed the directions and read all the documentation I can find. I am using a sandbox paypal account. I have reentered the API info 3 times and made sure the default paypal is unchecked.
    Problem: whenever I select the paypal express checkout on the front end I get the message “There was a problem connecting to your gateway”

    There is nothing in the log other than the start time for accessing the gateway.

    site: https://dev.baysidebasketprotectors.com
    theme: storefront with a child theme

    Thank you for any guidance.

    Nick

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor angelleye

    (@angelleye)

    It sounds like you must be running into the TLS 1.2 issue. Can you confirm that you’re working in the sandbox?

    PayPal’s sandbox only accepts requests over TLS 1.2 protocol, and the live server will do the same starting next year.

    Please take a look at this post. Specifically…

    If you want to use TLS 1.2 you’ll need to upgrade to OpenSSL 1.0.1 as a minimum, and then you’ll be able to set CURLOPT_SSLVERSION to 6 (TLS 1.2).

    If you want TLS 1.2 to be used automatically during SSL requests, you’ll also need to upgrade to PHP 5.5.19+ (this is the ideal solution but many projects are still on older PHP versions).

    Can you check those things?

    • This reply was modified 8 years, 6 months ago by angelleye.
    Thread Starter nsimmons

    (@nsimmons)

    Wow, that was FAST!

    Yes we are using the sandbox environment.

    PHP: 5.6.14
    OpenSSL: OpenSSL 1.0.1e-fips
    cURL: 7.19.7, NSS/3.19.1 Basic ECC

    I was able to connect with the OOTB standard paypal gateway included with WooCommerce.

    Thank you!

    Nick

    Plugin Contributor angelleye

    (@angelleye)

    Ok, your software stack seems fine. Are you absolutely sure the site is running on those versions, though? Sometimes a server will have multiple versions of PHP running for example, and while looking on the server seems to be running 5.6 they later find out the individual site is running on an older version.

    Can you load a file with phpinfo() just to be sure?

    Thread Starter nsimmons

    (@nsimmons)

    I confirmed this in cpanel and in the WP dashboard –> woocommerce –> system

    Plugin Contributor angelleye

    (@angelleye)

    Ok, well I can’t think of any other reason you’d be getting that error. It only happens if there’s a curl failure connecting to PayPal. Do you have any sort of firewalls or anything that would be blocking PayPal’s IP addresses by chance?

    Plugin Contributor angelleye

    (@angelleye)

    Do you have the option enabled in the settings to send email notifications of errors? If so, and a curl error is happening, you should get an email with the curl details..??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘“There was a problem connecting to your gateway” no errors in the log’ is closed to new replies.