Results 1 to 10 of 21

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: PayPal Express Checkout (35) SSL connect error

    Live mode uses the real API credentials for your real PayPal account.
    Test mode requires the use of sandbox API credentials.

    So, if you're going to switch between live and sandbox, you need to also re-enter the API credentials, else you'll get those 10002 Security Header Is Not Valid errors because you're authenticating against a non-existent account.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #2
    Join Date
    Jan 2014
    Location
    NJ, USA
    Posts
    9
    Plugin Contributions
    0

    Default Re: PayPal Express Checkout (35) SSL connect error

    Quote Originally Posted by DrByte View Post
    Live mode uses the real API credentials for your real PayPal account.
    Test mode requires the use of sandbox API credentials.

    So, if you're going to switch between live and sandbox, you need to also re-enter the API credentials, else you'll get those 10002 Security Header Is Not Valid errors because you're authenticating against a non-existent account.
    Dr.Byte, I believe I did, as I have been switching the live and sandbox ones since for almost a year, just easy change under store admin, right.

    the issue now is that if using sandbox api with store's paypal express sandbox mode enabled, I will get error 35: SSL Connect Error,, it didn't happen before.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: PayPal Express Checkout (35) SSL connect error

    Quote Originally Posted by johnny1114 View Post
    the issue now is that if using sandbox api with store's paypal express sandbox mode enabled, I will get error 35: SSL Connect Error,, it didn't happen before.
    Hmmmm ... mine doesn't.
    Fortunately no live store will be using the sandbox.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jan 2014
    Location
    Michigan
    Posts
    27
    Plugin Contributions
    0

    Default Re: PayPal Express Checkout (35) SSL connect error

    I have ZC v1.5.3 and I'm currently getting the:

    An error occurred when we tried to contact the payment processor. Please try again, select an alternate payment method, or contact the store owner for assistance. () - (35) error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure

    I made the required changes according to the instructions for this issue as follows:

    paypal_curl ***

    var $_curlOptions = array(CURLOPT_HEADER => 0,
    CURLOPT_RETURNTRANSFER => TRUE,
    CURLOPT_TIMEOUT => 60,
    CURLOPT_FOLLOWLOCATION => FALSE,
    CURLOPT_SSL_VERIFYPEER => FALSE,
    CURLOPT_SSL_VERIFYHOST => 2,
    // CURLOPT_SSLVERSION => 3,
    CURLOPT_FORBID_REUSE => TRUE,
    CURLOPT_FRESH_CONNECT => TRUE,
    CURLOPT_POST => TRUE,
    );


    paypaldp ***

    http://curl.haxx.se/docs/caextract.html ... should never be used in production!
    curl_setopt($ch, CURLOPT_TIMEOUT, 8);
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 8);
    // curl_setopt($ch, CURLOPT_SSLVERSION, 3);



    authorizenet_aim ***

    curl_setopt($ch, CURLOPT_FRESH_CONNECT, 1);
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_VERBOSE, 0);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_TIMEOUT, 15);
    // curl_setopt($ch, CURLOPT_SSLVERSION, 3);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); /* compatibility for SSL communications on some Windows servers (IIS

    5.0+) */
    if (CURL_PROXY_REQUIRED == 'True') {


    authorizenet_echeck ***

    curl_setopt($ch, CURLOPT_FRESH_CONNECT, 1);
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_VERBOSE, 0);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_TIMEOUT, 15);
    // curl_setopt($ch, CURLOPT_SSLVERSION, 3);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); /* compatibility for SSL communications on some Windows servers (IIS

    5.0+) */
    if (CURL_PROXY_REQUIRED == 'True') {


    class.linkpoint_api ***

    curl_setopt ($ch, CURLOPT_URL,$host);
    curl_setopt ($ch, CURLOPT_POST, 1);
    curl_setopt ($ch, CURLOPT_POSTFIELDS, $xml);
    curl_setopt ($ch, CURLOPT_SSLCERT, $key);
    curl_setopt ($ch, CURLOPT_CAINFO, $key);
    curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, false);
    curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false);
    // curl_setopt ($ch, CURLOPT_SSLVERSION, 3);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);

    I currently accept only CC and PayPal. I still get the error even though I made those changes.

    I use the keyword search in developers tool and located 5 instances of the "CURLOPT_SSLVERSION" and changed all 5 as noted above. What else can I do?

  5. #5
    Join Date
    Jan 2014
    Location
    Michigan
    Posts
    27
    Plugin Contributions
    0

    Default Re: PayPal Express Checkout (35) SSL connect error

    Quote Originally Posted by Graniteman22 View Post
    I have ZC v1.5.3 and I'm currently getting the:

    An error occurred when we tried to contact the payment processor. Please try again, select an alternate payment method, or contact the store owner for assistance. () - (35) error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure

    I made the required changes according to the instructions for this issue as follows:

    paypal_curl ***

    var $_curlOptions = array(CURLOPT_HEADER => 0,
    CURLOPT_RETURNTRANSFER => TRUE,
    CURLOPT_TIMEOUT => 60,
    CURLOPT_FOLLOWLOCATION => FALSE,
    CURLOPT_SSL_VERIFYPEER => FALSE,
    CURLOPT_SSL_VERIFYHOST => 2,
    // CURLOPT_SSLVERSION => 3,
    CURLOPT_FORBID_REUSE => TRUE,
    CURLOPT_FRESH_CONNECT => TRUE,
    CURLOPT_POST => TRUE,
    );


    paypaldp ***

    http://curl.haxx.se/docs/caextract.html ... should never be used in production!
    curl_setopt($ch, CURLOPT_TIMEOUT, 8);
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 8);
    // curl_setopt($ch, CURLOPT_SSLVERSION, 3);



    authorizenet_aim ***

    curl_setopt($ch, CURLOPT_FRESH_CONNECT, 1);
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_VERBOSE, 0);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_TIMEOUT, 15);
    // curl_setopt($ch, CURLOPT_SSLVERSION, 3);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); /* compatibility for SSL communications on some Windows servers (IIS

    5.0+) */
    if (CURL_PROXY_REQUIRED == 'True') {


    authorizenet_echeck ***

    curl_setopt($ch, CURLOPT_FRESH_CONNECT, 1);
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_VERBOSE, 0);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_TIMEOUT, 15);
    // curl_setopt($ch, CURLOPT_SSLVERSION, 3);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); /* compatibility for SSL communications on some Windows servers (IIS

    5.0+) */
    if (CURL_PROXY_REQUIRED == 'True') {


    class.linkpoint_api ***

    curl_setopt ($ch, CURLOPT_URL,$host);
    curl_setopt ($ch, CURLOPT_POST, 1);
    curl_setopt ($ch, CURLOPT_POSTFIELDS, $xml);
    curl_setopt ($ch, CURLOPT_SSLCERT, $key);
    curl_setopt ($ch, CURLOPT_CAINFO, $key);
    curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, false);
    curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false);
    // curl_setopt ($ch, CURLOPT_SSLVERSION, 3);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);

    I currently accept only CC and PayPal. I still get the error even though I made those changes.

    I use the keyword search in developers tool and located 5 instances of the "CURLOPT_SSLVERSION" and changed all 5 as noted above. What else can I do?
    Nevermind. Looks like I changed those files that were in a different folder. Found another version of those files in another location on my server and the problem is solved. Thank you.

  6. #6
    Join Date
    Sep 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: PayPal Express Checkout (35) SSL connect error

    Yep I had the same problem. I've just spent the last 8 hours unsuccessfully trying to upgrade my website from 1.39 to the latest version 1.53 of ZenCart, to try to fix the PayPal POODLE payment processing BUG without success. The upgrade failed to work properly, I think perhaps because I might have had some prior database corruption in v1.39. I think this was caused by a few issues.

    1. A prior database restore some time ago in the wrong format, possibly UTF format, when it was originally in ISO-88591 format ?
    2. Possibly adding to my woes was my web hosts PHP and MySQL upgrades that then meant they used UFT format as default.
    3. I ended up with corrupt data in my product descriptions with that strange A character with the bar on top of it. This thing here ( Â ) Associated with this was the BUG where my v 1.39 product descriptions would not save properly and I ended up with nothing saved in 1.39 product descriptions. This was another motivation to upgrade to 1.53.

    As a result of all the above, the upgrade never worked 100% properly. I came close by importing the old 1.39 data, after dropping all 1.53 tables and running the zc_install to upgrade the database, but then the product info did not display in version 1.53. Other than that it was looking good with all table records matching in 1.39 and 1.53.

    In version 1.53, all I could see was small dot in the product description. The product summaries were visible along with the ability to manually enter a product order quantity and fill the shopping cart, however I could not order products. I kept getting that blank page when it tried to re-direct to PayPal after order confirmation via the PayPal Express button. Was also getting that "(35) error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure" message.

    I then tried a raw 1.53 install, configured the PayPal express payment module and still got that damn POODLE Error when I tried to process an order.

    "An error occurred when we tried to contact the payment processor. Please try again, select an alternate payment method, or contact the store owner for assistance. () - (35) error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure"


    Only now have I found out that I only had to comment out 1 single line of software code in the payment module ( paypal_curl.php ) to make the current site work again. i.e. commented out this line; // CURLOPT_SSLVERSION => 3, // PayPal POODLE Security FIX. i.e. in includes/modules/payment/paypal/paypal_curl.php

    Anyway we are now operational with the v 1.39 site again for now. I still need to upgrade my site to a newer version of ZenCart, but for now we can at least process orders. I’ve done an order payment test and it worked ok, so fingers crossed for now up until Christmas. The customers must be very forgiving, because the product descriptions have been trashed here and there, by this other UTF corruption BUG in my current 1.39 version and I can't update the product descriptions, because every time I do, I loose them completely, so we are slowing going backwards with my site.

    Looks like I might have to bypass the 1.39 to 1.53 upgrade and start from scratch with 1.53, if I can't get around this data corruption issue. I might try to get around it, by doing the database upgrade, but just reentering the product description data in 1.53 manually. At least then I might have all the other data there, which might avoid having the rebuild the entire data set from scratch.
    Last edited by HeyIts007; 7 Dec 2014 at 06:12 AM.
    Thanks,
    007

  7. #7
    Join Date
    Oct 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: PayPal Express Checkout (35) SSL connect error

    i commented out 5 curlopt lines in payment modules (following http://www.zen-cart.com/showthread.p...yment-security) and express checkout seems to work.

    however, my shipping module (only 1 line in the usps module that i commented out) is not working:
    cannot select a shipping method. and when i click the paypal button, the total does not include shipping (i.e. 0)?

  8. #8
    Join Date
    Oct 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: PayPal Express Checkout (35) SSL connect error

    never mind. it looks like it works, but paypal express checkout is no long "express."

  9. #9
    Join Date
    Oct 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: PayPal Express Checkout (35) SSL connect error

    the problem is that customers can pay by paypal without paying shipping... that's trouble

 

 

Similar Threads

  1. v155 PayPal Express Checkout Error SSL connection timeout
    By kanine in forum PayPal Express Checkout support
    Replies: 15
    Last Post: 8 Jun 2016, 12:22 AM
  2. v154 PayPal Express Checkout getting (28) connect() timed out!
    By batracy in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 23 Dec 2015, 02:53 AM
  3. v138a ALERT: PayPal Express Checkout Error () (28) SSL connection timeout
    By DML73 in forum PayPal Express Checkout support
    Replies: 7
    Last Post: 22 Oct 2012, 09:52 AM
  4. ALERT: PayPal Express Checkout Error () - (7) couldn't connect to host
    By Mr. Xter in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 30 Dec 2011, 12:33 AM
  5. paypal express (7) couldn't connect to host & (28) connect() timed out
    By delia in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 9 Sep 2010, 12:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg