Forums / General Questions / PayPal order not working anymore

PayPal order not working anymore

Views: 1,744

Results 1 to 16 of 16
28 Jan 2014, 7:58 PM
#1
zurd avatar

zurd

New Zenner

Join Date:
Jan 2014
Posts:
11
Plugin Contributions:
0

PayPal order not working anymore

Our site has been working for 2 years but since last week, orders made through PayPal doesn't work anymore. No one touched the website for a while, last good order was made last week. PayPal account is still working fine, no changes has been made to it. Payment is sent to our PayPal account but no order is being created. We're using ZC 1.5 and PayPal IPN module.

After doing an order, we are redirected to paypal, we pay but once we get back to our web store, there's is no order number, we do not receive a confirmation email and in the ZC dashboard, no new order is being created.

We put the PayPal module log at on and this is what we see:
Jan 28 2014 14:33 -- IPN PROCESSING INITIATED.
*** Originating IP: ...
*** Browser/User Agent: PayPal IPN ( https://www.paypal.com/ipn )

Jan 28 2014 14:33 -- Breakpoint: 0 - Initializing debugging.

Jan 28 2014 14:33 -- Breakpoint: Flag Status:
isECtransaction = 0
isDPtransaction = 0

Jan 28 2014 14:33 -- IPN INFO - POST VARS received (sorted):
Array
(
lots of info here, all seem good
)

Jan 28 2014 14:33 -- IPN NOTICE: Could not get usable response via CURL. Trying fsockopen() as fallback.

Jan 28 2014 14:33 -- IPN INFO - POST VARS to be sent back (unsorted) for validation (using fsockopen):
To: www.paypal.com:80
POST /cgi-bin/webscr HTTP/1.1
Host: https://www.paypal.com
Content-type: application/x-www-form-urlencoded
Content-length: 1162
Connection: close

Array
(
lots of info here, all seem good
)

Jan 28 2014 14:33 -- IPN INFO (fs) - Confirmation/Validation response

8
VERIFIED
0

Jan 28 2014 14:33 -- Breakpoint: 1 - Collected data from PayPal notification

Jan 28 2014 14:33 -- IPN WARNING :: Transaction was NOT marked as VERIFIED. Keep this report for potential use in fraud investigations.
IPN Info:

Jan 28 2014 14:33 -- IPN FATAL ERROR :: Transaction did not validate. ABORTED.

28 Jan 2014, 9:22 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: PayPal order not working anymore

Switching to the much more reliable Paypal Express should fix that problem.

28 Jan 2014, 9:43 PM
#3
zurd avatar

zurd

New Zenner

Join Date:
Jan 2014
Posts:
11
Plugin Contributions:
0

Re: PayPal order not working anymore

stevesh:

Switching to the much more reliable Paypal Express should fix that problem.

You mean PayPal Express Checkout?

I saw a few threads about this as well. Would you mind explaining why it is more reliable?

28 Jan 2014, 9:47 PM
#4
zurd avatar

zurd

New Zenner

Join Date:
Jan 2014
Posts:
11
Plugin Contributions:
0

Re: PayPal order not working anymore

Trying to use PayPal Express Checkout but I get an error message:
PayPal Express Checkout (Debug) CURL NOT FOUND. Cannot Use.

I have the command curl on this server, doesn't look like it's working.

28 Jan 2014, 9:56 PM
#5
zurd avatar

zurd

New Zenner

Join Date:
Jan 2014
Posts:
11
Plugin Contributions:
0

Re: PayPal order not working anymore

I don't see any mention of curl in phpinfo(); so it's not installed unfortunately.

Using PayPal Express Checkout might just solve our problem. However it still doesn't explain why our Zen Cart installation stopped working all of a sudden.

28 Jan 2014, 10:46 PM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: PayPal order not working anymore

It may. Your host may have changed something in its server configuration (like disabling CURL?) that interferes with Paypal's communication with your server.

You can test CURL by entering yoursite.com/extras/curltester.php in the browser address bar. If CURL isn't enabled, you'll need to contact your host.

28 Jan 2014, 10:52 PM
#7
zurd avatar

zurd

New Zenner

Join Date:
Jan 2014
Posts:
11
Plugin Contributions:
0

Re: PayPal order not working anymore

cURL is now installed and working, however after making an order, I am redirected to PayPal and as soon as I log in, I'm redirected back to our website with this error: MODULES_PAYMENT_PAYPALWPP_TEXT_BLANK_ADDRESS

28 Jan 2014, 11:17 PM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: PayPal order not working anymore

Check to make sure includes/languages/english/modules/payment/paypalwpp.php exists in your Zencart files.

28 Jan 2014, 11:29 PM
#9
zurd avatar

zurd

New Zenner

Join Date:
Jan 2014
Posts:
11
Plugin Contributions:
0

Re: PayPal order not working anymore

stevesh:

Check to make sure includes/languages/english/modules/payment/paypalwpp.php exists in your Zencart files.

We're using french, but it do exist in both locations:
ls includes/languages/french/modules/payment/paypalwpp.php
-rw-r--r-- 1 nobody nobody 23K Jan 28 13:50 includes/languages/french/modules/payment/paypalwpp.php
ls includes/languages/english/modules/payment/paypalwpp.php
-rw-r--r-- 1 nobody nobody 22K Jan 28 13:50 includes/languages/english/modules/payment/paypalwpp.php

28 Jan 2014, 11:32 PM
#10
zurd avatar

zurd

New Zenner

Join Date:
Jan 2014
Posts:
11
Plugin Contributions:
0

Re: PayPal order not working anymore

And of course the variable MODULES_PAYMENT_PAYPALWPP_TEXT_BLANK_ADDRESS is not in this file. Actually it's not in any file, I made a global search, it doesn't exist.

29 Jan 2014, 12:02 AM
#11
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: PayPal order not working anymore

That's weird, since the constant is defined (at least in v1.5.0 and v1.5.1) in /languages/english/modules/payment/paypalwpp.php:

 define('MODULES_PAYMENT_PAYPALWPP_TEXT_BLANK_ADDRESS', 'PROBLEM: We're sorry. PayPal has unexpectedly returned a blank address. <br />In order to complete your purchase, please provide your address by clicking the "Sign Up" button below to create an account in our store. Then you may select PayPal again when you continue with checkout. We apologize for the inconvenience. If you have any trouble with checkout, please click the Contact Us link to explain the details to us so we can help you with your purchase and prevent the problem in the future. Thanks.');

  define('MODULES_PAYMENT_PAYPALWPP_AGGREGATE_CART_CONTENTS', 'All the items in your shopping basket (see details in the store and on your store receipt).');
29 Jan 2014, 5:50 AM
#12
zurd avatar

zurd

New Zenner

Join Date:
Jan 2014
Posts:
11
Plugin Contributions:
0

Re: PayPal order not working anymore

lat9:

That's weird, since the constant is defined (at least in v1.5.0 and v1.5.1) in /languages/english/modules/payment/paypalwpp.php:

define('MODULES_PAYMENT_PAYPALWPP_TEXT_BLANK_ADDRESS', 'PROBLEM: We're sorry. PayPal has unexpectedly returned a blank address. <br />In order to complete your purchase, please provide your address by clicking the "Sign Up" button below to create an account in our store. Then you may select PayPal again when you continue with checkout. We apologize for the inconvenience. If you have any trouble with checkout, please click the Contact Us link to explain the details to us so we can help you with your purchase and prevent the problem in the future. Thanks.');

define('MODULES_PAYMENT_PAYPALWPP_AGGREGATE_CART_CONTENTS', 'All the items in your shopping basket (see details in the store and on your store receipt).');


It is in the english folder but it's not in the french folder. Seems like the french translation stopped at ZC version 1.3.9 and was never updated:
<http://www.zen-cart.com/downloads.php?do=file&id=62>

So I put the english translation in the french folder (if it's working I can always translate it after) but after checking out, instead of having the error of MODULES_PAYMENT_PAYPALWPP_TEXT_BLANK_ADDRESS, it is now complaining about the whole english translation:
PROBLEM: We're sorry. PayPal has unexpectedly returned a blank address.
In order to complete your purchase, please provide your address by clicking the "Sign Up" button below to create an account in our store. Then you may select PayPal again when you continue with checkout. We apologize for the inconvenience. If you have any trouble with checkout, please click the Contact Us link to explain the details to us so we can help you with your purchase and prevent the problem in the future. Thanks.

Needless to say that I do have an account in the store. So I'm back to square one, it's not working. The logs folder is 777, the PayPal Checkout Express module has log enabled, yet no log file is created.

I feel like ZC is just dying, french translation is outdated, error message is not helping, no log file is created and whenever I modify the Localization / Languages everything is messed up after and I have to re-import the database everytime.

Our first ZC installation was on 2011-12-21 using this install.txt version:
(Document Revision: $Id: install.txt 16602 2010-06-03 10:26:30Z wilt $)

Is it possible that just upgrading ZC after all this time was too much for ZC and a complete re-install would have been better? I'm still wondering why it stopped working all of a sudden. It was fine last week.

Any help/question/suggestion would be greatly appreciated, don't be shy!
29 Jan 2014, 5:59 AM
#13
zurd avatar

zurd

New Zenner

Join Date:
Jan 2014
Posts:
11
Plugin Contributions:
0

Re: PayPal order not working anymore

Weird, one of my test order went through, no idea what I did, can't reproduce it, still broken.

29 Jan 2014, 5:17 PM
#15
zurd avatar

zurd

New Zenner

Join Date:
Jan 2014
Posts:
11
Plugin Contributions:
0

Re: PayPal order not working anymore

stevesh:

Might be a 1.5.0 bug if you're testing with downloadable products:

http://www.zen-cart.com/showthread.php?190388-PayPal-has-unexpectedly-returned-a-blank-address&p=1093291#post1093291

Bingo! Looks like this is it, when it's not a virtual product, it's working. Guess I have no choice but to update to 1.5.1 now which I tried before and it broke a lot even tho we're not using anything but a theme...

29 Jan 2014, 5:42 PM
#16
zurd avatar

zurd

New Zenner

Join Date:
Jan 2014
Posts:
11
Plugin Contributions:
0

Re: PayPal order not working anymore

Looks like everything's working fine, all payment, all orders and everything else on the website! I'm just not going to modify anything, this installation is so fragile!

Thanks a lot for your help, I appreciate it a lot!