Results 1 to 10 of 13

Hybrid View

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

    Default Re: POODLE and Paypal position

    For a TEMPORARY quick-fix, go to the zen-cart.com home page, click on the Download Zen Cart link. That will currently give you ZC v1.5.4

    Copy the /includes/modules/payment/paypal/paypal_curl.php file to your server, replacing yours. I just did a test transaction on a (test) v1.5.1 site and it appears to work fine.

    Then work on preparing a full upgrade to your site.
    .

    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
    Nov 2008
    Posts
    51
    Plugin Contributions
    0

    Default Re: POODLE and Paypal position

    First of all, thank you lhungil and DrByte and for replying to my post. Without your responses, the world would seem a much colder, lonelier place.

    Next, I have fixed the problem and have been successfully processing orders for a few days now. Now that the dust has settled and I am sure of what happened, I want to share it with the rest of the world in case someone else runs into this.

    The problem was that my site was being hosted on a server at GoDaddy that did not support anything BUT SSL. So even though I put in all the changes recommended by Dr Byte back in the fall, all it did was allow ZC to negotiate with PayPal to select the best AVAILABLE protocol.

    So, as long as PayPal supported at least one version of SSL, all was fine. But on Jan 12, PayPal disabled support for the last SSL version. Hence my site broke. No helpful error messages from ZC on what was causing the problem. No tech support from GoDaddy whatsoever. PayPal tech support was concerned but only slightly helpful. I read and re-read Dr Byte's description of what the fix did (thank you for that - it saved my ########), and then I made a wild ###### guess that maybe there was no TLS on my server. Luckily, that turned out to be right.

    The only solution was to move my site as quickly as possible to a new server that supported TLS. Very painful, especially under pressure and with my site mostly down--well, at least all the SSL pages which turned out to be key. So, first, I turned off SSL on my storefront and removed the PayPal payment modules and left only the one for "Pay by Check or By Phone". Then I added a Checkout note to my customers about POODLE and asked them to call in their payments. Kinda hokey, but amazingly, people actually did that!

    But then, I was left with the problem of how to submit the orders to shipping without the admin screens or the email confirmations (which weren't being sent either). I managed to figure out the details by looking at about 4 DB tables for each order. Whew! That gave me a whole new appreciation for the work that ZC does! It took quite a while to process each order, and it was error-prone, but it was doable.

    In between orders, I started migrating to a new server, but it did not go smoothly. The new server had an unfamiliar CPANEL interface and a new version of PHP and several other important differences which I discovered one by one. The worst problem was getting an SSL certificate to work. This took about 3 days. GoDaddy tech support claimed it was set up correctly on their end, but it was not. Once GoDaddy saw I was using ZC, they basically they told me to go pound salt, since ZC is a 3rd party software app which they don't support and therefore it must be the problem.

    In the end, there was a setting that I needed in the CPANEL which had been overlooked. GoDaddy tech support should have spotted it, but they were so busy pointing fingers at ZC that they did not bother to even check. I finally convinced them to take a look at the settings by putting a stupid jpg image one level up above my ZC code. When displayed with http://___.jpg all was fine, but with https://___.jpg it was broken. Since no ZC code was anywhere nearby, they finally were convinced that their SSL certificate was not set up right and then fixed the problem in about 2 minutes. So basically my site was down for 3 days due to bad GoDaddy tech support.

    Once my site was up and running with TLS on the new server, I then had to change the way I send email (I now use SMTPAUTH instead of sendmail) and reinstall one of my PayPal payment modules. And Order Time is not being displayed correctly in the admin section -- it thinks we are on GMT. I tried to put in some extra configuration files which I found on the forum, but they broke my site, so I am living with it for now. Any suggestions on something that will work for 1.5.1 would be appreciated.

    And lastly (this is not yet fixed) I am getting PayPal Instant Payment Notification Warnings occasionally like this:

    Code:
    Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:
    http://keylessentrylocks.com/ipn_main_handler.php
    https://keylessentrylocks.com/ipn_main_handler.php
    This seems to have the effect of occasionally not updating the order status on my site after checkout. I'll call PayPal Tech Support about this one, but if it is familiar to anyone out there. please let me know.

    Oh, one more thing is still wrong on the new site. I get an error message after I sign up a new customer. It only happens intermittently and their account is still created and their order goes through fine, so it is not a critical problem at the moment. But I would still like it fixed. If you have any ideas about that, plz let me know. Since these last 2 items are intermittent, I am thinking it might be related to a server resource instead of a code issue.

    Hope that made sense.

    Thanks again, guys!

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

    Default Re: POODLE and Paypal position

    Quote Originally Posted by ibuttons View Post
    So basically my site was down for 3 days due to bad GoDaddy tech support.
    Don't be afraid to demand compensation from them.

    Quote Originally Posted by ibuttons View Post
    Order Time is not being displayed correctly in the admin section -- it thinks we are on GMT. I tried to put in some extra configuration files which I found on the forum, but they broke my site, so I am living with it for now. Any suggestions on something that will work for 1.5.1 would be appreciated.
    I suggest installing these files, from the v1.5.4 zip:
    /includes/extra_configures/set_time_zone.php -- and set the TZ in the top half of that file to your desired timezone
    /admin/includes/extra_configures/use_catalog_time_zone.php -- no edits required to this file, since all it does is tell the admin to use the storefront file ;)
    Doing that shouldn't cause any errors, but if it does, post the errors from the logs it creates ( to see the logs, read: http://www.zen-cart.com/content.php?124 )

    Quote Originally Posted by ibuttons View Post
    And lastly (this is not yet fixed) I am getting PayPal Instant Payment Notification Warnings occasionally like this:

    Code:
    Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:
    http://keylessentrylocks.com/ipn_main_handler.php
    https://keylessentrylocks.com/ipn_main_handler.php
    This seems to have the effect of occasionally not updating the order status on my site after checkout.
    Yes, that's the side-effect it will have, and if you don't fix it Paypal will eventually turn off notifying your store of changes.
    Are there any debug logs related to the ipn handler? On v1.5.1 you'll want to look in both the /cache/ folder and the /includes/modules/payment/paypal/logs folder. You might need to turn debug logging on for it to record them. When it's processing IPNs it logs every step it takes to talk back to PayPal for acknowledgement, in order to evaluate failures.

    Quote Originally Posted by ibuttons View Post
    I get an error message after I sign up a new customer. It only happens intermittently
    Can't offer help if we don't know what the error message is ;)
    .

    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
    Nov 2008
    Posts
    51
    Plugin Contributions
    0

    Default Re: POODLE and Paypal position

    Quote Originally Posted by DrByte View Post
    Don't be afraid to demand compensation from them.
    Ok. So I called GoDaddy and was able to get a $0.39 credit for the hosting outage. Not much, but maybe it will get their attention. I also re-explained everything on a recorded call, added up the probable cost of the lost business, (at least $4K) and threatened to move all my sites and my client sites to a new hosting provider that is more Zen Cart-friendly. The person I spoke with promised that a supervisor would listen to my recorded call. I am really not sure this will happen, or if it does, that it will do any good, but at least I tried.

    BTW, any suggestions for a Zen Cart-friendly hosting provider?

    Quote Originally Posted by DrByte View Post
    I suggest installing these files, from the v1.5.4 zip:
    /includes/extra_configures/set_time_zone.php -- and set the TZ in the top half of that file to your desired timezone
    /admin/includes/extra_configures/use_catalog_time_zone.php -- no edits required to this file, since all it does is tell the admin to use the storefront file ;)
    Doing that shouldn't cause any errors, but if it does, post the errors from the logs it creates ( to see the logs, read: http://www.zen-cart.com/content.php?124 )
    Hot dog...that worked! Thank you so much!

    Quote Originally Posted by DrByte View Post
    Yes, that's the side-effect it will have, and if you don't fix it Paypal will eventually turn off notifying your store of changes.
    Are there any debug logs related to the ipn handler? On v1.5.1 you'll want to look in both the /cache/ folder and the /includes/modules/payment/paypal/logs folder. You might need to turn debug logging on for it to record them. When it's processing IPNs it logs every step it takes to talk back to PayPal for acknowledgement, in order to evaluate failures.
    Can't offer help if we don't know what the error message is ;)
    That's good news. Thanks for your helpful information.

    Nothing much in /cache/. I have turned on debugging for both PayPal Payflow Pro - Gateway (Debug) and PayPal Express Checkout (Debug). So we'll see what that turns up.

    Just noticed that I am getting these messages only 1 x day, at just after midnight. Does that ring a bell?

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

    Default Re: POODLE and Paypal position

    Quote Originally Posted by ibuttons View Post
    Just noticed that I am getting these messages only 1 x day, at just after midnight. Does that ring a bell?
    The PayPal alert about IPN problems is probably sent once a day, around midnight, only if they've detected failures.
    .

    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.

  6. #6
    Join Date
    Nov 2008
    Posts
    51
    Plugin Contributions
    0

    Default Re: POODLE and Paypal position

    I just figured out how to fix the PayPal Instant Payment Notification Warning message. Here is what I had to do, in case anyone else is getting this error.

    When I moved my site, the primary domain was changed. For some reason, I was using this instead of my subdomain name within the PayPal settings. So I just updated that.

    The hardest thing was to figure out where to do this. Turns out, the Instant Payment Notification (IPN) settings are found under My Profile-->My Selling Tools-->Instant Payment Notifications. Click the link Update then click Edit Settings and change the Notification URL to match the path where the file resides that is called: ipn_main_handler.php

 

 

Similar Threads

  1. Help with server errors - GoDaddy server
    By Johnnycopilot in forum General Questions
    Replies: 8
    Last Post: 19 Apr 2012, 10:39 PM
  2. Problem with SSL on GoDaddy
    By iSPOTLLC in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 2 Jan 2010, 08:29 PM
  3. Problems with Godaddy Installation?
    By estore5791 in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 23 Mar 2009, 09:51 PM
  4. How to transfer Domain to Dedicated Server with godaddy?
    By palmpilot2 in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 14 Dec 2008, 06:21 AM

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