Forums / Basic Configuration / Time Our after Poodle Update to Paypal

Time Our after Poodle Update to Paypal

Views: 1,780

Results 1 to 8 of 8
7 Dec 2014, 1:41 AM
#1
photomhs avatar

photomhs

New Zenner

Join Date:
Aug 2010
Posts:
5
Plugin Contributions:
0

Time Our after Poodle Update to Paypal

We made the poodle update to our site this evening and are getting the following after the update:

(28) Operation timed out after 60000 milliseconds with 0 bytes received

Any thought son what might be causing this?

7 Dec 2014, 6:42 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Time Our after Poodle Update to Paypal

photomhs:

We made the poodle update to our site this evening and are getting the following after the update:

(28) Operation timed out after 60000 milliseconds with 0 bytes received

Any thought son what might be causing this?

Did you apply DrByte's fix? Thread here http://www.zen-cart.com/showthread.php?214916-Important-announcement-about-POODLE-and-payment-security&highlight=poodle

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

7 Dec 2014, 7:52 PM
#4
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Time Our after Poodle Update to Paypal

Can you run curltester and see if it reports any issues?

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

8 Dec 2014, 11:07 PM
#5
photomhs avatar

photomhs

New Zenner

Join Date:
Aug 2010
Posts:
5
Plugin Contributions:
0

Re: Time Our after Poodle Update to Paypal

I ran the CURL tester and everything came back fine. I am stumped. I tried it on another site and it is the same deal. Must be something either with the fix I put in or something with my server.

9 Dec 2014, 7:04 AM
#6
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Time Our after Poodle Update to Paypal

photomhs:

I ran the CURL tester and everything came back fine. I am stumped. I tried it on another site and it is the same deal. Must be something either with the fix I put in or something with my server.

The fix works fine, have it working on a number of sites (1.5.1 and 1.5.3).

Can you compare the files in includes/modules/payment to the corresponding files in a freshly downloaded ZC version that matches your installation and see if there are any differences (minus the applied fix)? Use something like WinMerge or Beyond Compare...

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

9 Dec 2014, 1:56 PM
#7
photomhs avatar

photomhs

New Zenner

Join Date:
Aug 2010
Posts:
5
Plugin Contributions:
0

Re: Time Our after Poodle Update to Paypal

frank18:

The fix works fine, have it working on a number of sites (1.5.1 and 1.5.3).

Can you compare the files in includes/modules/payment to the corresponding files in a freshly downloaded ZC version that matches your installation and see if there are any differences (minus the applied fix)? Use something like WinMerge or Beyond Compare...

Maybe I am just doing it wrong:

<?php /** * paypal_curl.php communications class for PayPal Express Checkout / Website Payments Pro / Payflow Pro payment methods * * @package paymentMethod * @copyright Copyright 2003-2014 Zen Cart Development Team * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version GIT: $Id: Author: DrByte Sat Nov 2 12:51:04 2013 -0400 Modified in v1.5.3 $ */ /** * PayPal NVP (v61) and Payflow Pro (v4 HTTP API) implementation via cURL. */ class paypal_curl extends base { /** * What level should we log at? Valid levels are: * 1 - Log only severe errors. * 2 - Date/time of operation, operation name, elapsed time, success or failure indication. * 3 - Full text of requests and responses and other debugging messages. * * @access protected * * @var integer $_logLevel */ var $_logLevel = 3; /** * If we're logging, what directory should we create log files in? * Note that a log name coincides with a symlink, logging will * *not* be done to avoid security problems. File names are * <DateStamp>.PayflowPro.log. * * @access protected * * @var string $_logFile */ var $_logDir = DIR_FS_LOGS; /** * Debug or production? */ var $_server = 'sandbox'; /** * URL endpoints -- defaults here are for three-token NVP implementation */ var $_endpoints = array('live' => 'https://api-3t.paypal.com/nvp', 'sandbox' => 'https://api-3t.sandbox.paypal.com/nvp'); /** * Options for cURL. Defaults to preferred (constant) options. */ var $_curlOptions = array(CURLOPT_HEADER => 0, CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_TIMEOUT => 45, CURLOPT_CONNECTTIMEOUT => 10, CURLOPT_FOLLOWLOCATION => FALSE, //CURLOPT_SSL_VERIFYPEER => FALSE, // Leave this line commented out! This should never be set to FALSE on a live site! //CURLOPT_CAINFO => '/local/path/to/cacert.pem', // for offline testing, this file can be obtained from <http://curl.haxx.se/docs/caextract.html> ... should never be used in production! //CURLOPT_SSLVERSION => 3, CURLOPT_FORBID_REUSE => TRUE, CURLOPT_FRESH_CONNECT => TRUE, CURLOPT_POST => TRUE, );
10 Dec 2014, 12:19 PM
#8
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Time Our after Poodle Update to Paypal

That is correct. But there are two files where the changes are needed - one for paypal pro. Just checking but are you only using PayPal Express? I'm not seeing any timeout errors across all the sites (50+) I've made the changes on.

I am seeing a weirdness where that ssl message is cropping up in the middle of working paypal orders so I personally believe that PayPal themselves might well be tinkering with something still. They haven't been transparent about this change at all. Just saying.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo