Zen Cart Logo
Forums / General Questions / No order number when using Paypal

No order number when using Paypal

Locked

Views: 2,852

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
20 May 2009, 6:57 AM
#1
zztimeout avatar

zztimeout

New Zenner

Join Date:
Oct 2008
Posts:
19
Plugin Contributions:
0

No order number when using Paypal

I have version 1.3.7 and have been using Zen for a few years without too much trouble. I have noticed that when a customer buys a product and pays with Paypal Zen does not give an order number hence customer does not get an email confirming order, no order is in Zen as a pending order.... I dont get any emails to say a product has been sold.... all I get is a Paypal email saying that Mr customer has paid $some money into my account. Have no idea what he bought.....
If another payment method is used all works perfectly... this is only on Paypal. I have Paypal IPN basic module installed.

I went in as a customer and bought a product worth $0.10 with free shipping. I selected payment Paypal and proceeded to Paypal payment screen... I paid the item and then the button was there returning me to my shopping cart...the page said something like "We apprecticate your business...blah blah" and "Your order number is ........." blank....

Any ideas ??

Thanks
Dave
https://www.timeoutmassage.com.au/zen

21 May 2009, 7:00 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: No order number when using Paypal

That's a classic problem with PayPal IPN on many hosts. Something's preventing PayPal from telling your server that the order is completed, and thus the order number is never generated, nor is the confirmation email.
If you're on GoDaddy hosting, you'll have to make a coding change to fix a quirk resulting from a server change they made.
There are a bunch of troubleshooting steps mentioned here: http://www.zen-cart.com/wiki/index.php/PayPal

21 May 2009, 10:50 AM
#3
zztimeout avatar

zztimeout

New Zenner

Join Date:
Oct 2008
Posts:
19
Plugin Contributions:
0

Re: No order number when using Paypal

DrByte:

That's a classic problem with PayPal IPN on many hosts. Something's preventing PayPal from telling your server that the order is completed, and thus the order number is never generated, nor is the confirmation email.
If you're on GoDaddy hosting, you'll have to make a coding change to fix a quirk resulting from a server change they made.
There are a bunch of troubleshooting steps mentioned here: http://www.zen-cart.com/wiki/index.php/PayPal

Hi Dr, :D
I followed the instructions on the page you gave me and all was perfect except when I entered the http://www.timeoutmassage.com.au/zen/ipn_main_handler.php... it says it should be a white screen with the first phrase of Paypal... instead I got this

"1054 Unknown column 'zen_order_id' in 'field list'
in:
[SELECT zen_order_id, paypal_ipn_id, payment_status, txn_type, pending_reason FROM paypal WHERE txn_id = '' ORDER BY zen_order_id DESC ] "

Does this help you in any way...??? :blink:

Ta
Dave

21 May 2009, 10:54 AM
#4
zztimeout avatar

zztimeout

New Zenner

Join Date:
Oct 2008
Posts:
19
Plugin Contributions:
0

Re: No order number when using Paypal

And no I am not using Go Daddy....

21 May 2009, 2:23 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: No order number when using Paypal

zztimeout:

"1054 Unknown column 'zen_order_id' in 'field list'
in:
[SELECT zen_order_id, paypal_ipn_id, payment_status, txn_type, pending_reason FROM paypal WHERE txn_id = '' ORDER BY zen_order_id DESC ] "

Does this help you in any way...???
Ya, it does. It confirms that you've somehow installed a v1.3.8 version of some of the PayPal modules on your older v1.3.7 site, and that 1.3.8 code has altered the structure of your PayPal database, thus making the code incompatible with the database.
So, it seems you've been installing incompatible code and/or doing upgrades and not completing them, etc.

21 May 2009, 8:25 PM
#6
zztimeout avatar

zztimeout

New Zenner

Join Date:
Oct 2008
Posts:
19
Plugin Contributions:
0

Re: No order number when using Paypal

I hired a company to do an upgrade for me... but this was ages ago and I am sure it was working after this..... I have to think abotu that.... how can I be sure this is what has happen.... is there a way to check the version of Paypal that has been installed...???

Thanks again
Dave

22 May 2009, 12:13 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: No order number when using Paypal

I'm going to not answer that question. Instead I'm going to ask a different one:

  • Go to Admin->Tools->Server Info ... and tell me what it says in the top section, above the PHP version section. I want the part that shows your Zen Cart version, upgrade history, database version, etc. I don't need the lower 90% of the page that talks about all the PHP settings.
22 May 2009, 8:15 AM
#8
zztimeout avatar

zztimeout

New Zenner

Join Date:
Oct 2008
Posts:
19
Plugin Contributions:
0

Re: No order number when using Paypal

I hope you can see the picture.... see it here http://timeoutmassage.com.au/version.jpg

Does this help you... if you need to see more I can do it again..

Thanks
Dave

22 May 2009, 6:54 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: No order number when using Paypal

You probably should apply the v1.3.7.1 update to get the paypal fixes and several security fixes. It's a lot smaller upgrade than to 1.3.8, but going all the way to 1.3.8 gives you even more security fixes and bugfixes, etc. And, using v1.3.8 solves the paypal problem causing the error message you mentioned.