Paypal Failed Issue

Starting sometime yesterday all paypal order show up as failed even though the orders are legit and payment has been received. Anyone else have this going on?



My server was recently patched for this linux “Glibc ghost vulnerability” wondering if the two might be related.

Response: HTTPS: libcurl error(28): Operation timed out after 0 milliseconds with 0 out of 0 bytes received



This line shows up in my log file when the paypal payment shows as FAILED



My server tech asked me this: Do they have any specific connection requirements to their system? It doesn't seem your server can grab the link, and this could be due to SSLv3 being in use:



I'm using cs-cart 2.2.4 by the way

The vast majority of payment providers will no longer accept connecitions from sites that have SSLv3 enabled. Work with your host to disable SSLv3 on your server.

Yes, I had sslv3 disabled but I still get the

Response: HTTPS: libcurl error(28): Operation timed out after 0 milliseconds with 0 out of 0 bytes received

and then payment status changes to FAILED. I'm guessing this must be a server issue since nobody else is having this trouble. Something on my server seems to be blocking the ability to communicate properly with paypal.

Is there anything in the PHP files that sends commands to CURL that we can alter?

What version of cart are you running and what version of PHP?

I recently encountered a 5.2PHP instance that would not connect via https sp had to switch the client to 5.3.

php version 5.3.29 cs-cart version 2.2.4



Any ideas what might be at work here or where to look or what to tell my server techs to look for? I'm on a dedicated wiredtree server centos. thanks

curl 7.38

cURL support enabled cURL Information 7.38.0 Age 3 Features AsynchDNS No Debug No GSS-Negotiate No IDN Yes IPv6 Yes Largefile Yes NTLM Yes SPNEGO No SSL Yes SSPI No krb4 No libz Yes CharConv No Protocols dict, file, ftp, ftps, gopher, http, https, imap, imaps, pop3, pop3s, rtsp, smtp, smtps, telnet, tftp Host x86_64-unknown-linux-gnu SSL Version OpenSSL/0.9.8b ZLib Version 1.2.3

Grab this Curl Tester (https:ez-ms.com/private/unsupported_scripts/curltest.php.txt) and put it in the root of your store (remove the .txt suffix). Then run:

[your_domain.com]/curltest.php?paypal=1



You should see output the curl connection info. If you get a 500 error, then point your hosting at this script to diagnose.

I get 404 not found…or am I doing something wrong

No, my bad. I had a typo in the name on my end. The script should be available now:[list]

[]copy the contents of that link to a file in the root of your store named curltest.php

[
]Run that file ([yourdomain.com]/curltest.php?paypal=1)

[]You should see some details of the connection info from PHP or the 500 error.

[list]

[
]If you see the 500 error then point your hosting at this simple test script to figure it out.

[/list]

[/list]

Here's what it spit out…does this mean it's working properly



Array
(
[url] => "https://api-3t.paypal.com/nvp"
[content_type] => text/plain; charset=utf-8
[http_code] => 200
[header_size] => 153
[request_size] => 166
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.381442
[namelookup_time] => 0.04465
[connect_time] => 0.104966
[pretransfer_time] => 0.29529
[size_upload] => 37
[size_download] => 146
[speed_download] => 382
[speed_upload] => 97
[download_content_length] => 146
[upload_content_length] => 37
[starttransfer_time] => 0.381393
[redirect_time] => 0
[certinfo] => Array
(
)

[redirect_url] =>
)



ACK=Failure&L_ERRORCODE0=81002&L_SHORTMESSAGE0=Unspecified%20Method&L_LONGMESSAGE0=Method%20Specified%20is%20not%20Supported&L_SEVERITYCODE0=ErrorEOF

I remember back in November everyone was getting failed notices with paypal and they changed this line:








I never changed mine back to “handling” or whatever it was…but I would think this has nothing to do with my timeout msg.



“Operation timed out after 0 milliseconds with 0 out of 0 bytes received”



When trying to research this I see others with timeout issues, but usually there's a number of milliseconds other than zero. Zero seems to imply that it timed out before it even started or that the time limit is zero. Is that how this works? I keep thinking this is a server issue, but could it just be paypal not sending me responses?

Then curl is working with your server environment.

You will have to address this with your hosting… First thing is to identify where that message is coming from. It is not coming from cs-cart.

I talked to paypal, they didn't have much to say about it but I activated paypal express checkout to see if that one works. Is there any drawback to using the express checkout over the standard paypal one? Didn't seem like it.



Thanks for the curltester

Craziest thing, since I turned Paypal Express on, now the standard paypal started working right again!?!?