Zen Cart Logo
Forums / PayPal Express Checkout support / Unknown column customers_paypal_payerid

Unknown column customers_paypal_payerid

Locked

Views: 1,291

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
23 Dec 2009, 5:29 PM
#1
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Unknown column customers_paypal_payerid

I have 1.3.8a and am testing PayPal Express Checkout. I have [finally] created a sandbox buyer and seller, and the payment module is in sandbox mode w/debug and email.

I clicked on the first PayPal checkout in the cart and used the personal (buyer) test account during my first test. I got all the correct PayPal debug emails.

After hitting "Continue" on the PayPal screen, my browser returns to the IPN page with this:

1054 Unknown column 'customers_paypal_payerid' in 'field list'
in:
[SELECT customers_id, customers_firstname, customers_lastname, customers_paypal_payerid, customers_paypal_ec               FROM customers               WHERE customers_email_address = '[email protected]' ]

How could it not have the right column if the PayPal module is installed and configured correctly already?

23 Dec 2009, 5:55 PM
#2
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: Unknown column customers_paypal_payerid

dhcernese:

How could it not have the right column if the PayPal module is installed and configured correctly already?I should mention, this being my development site it does not have an SSL certificate if that could hose up the works, but I didn't receive any errors from PayPal.

23 Dec 2009, 6:30 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Unknown column customers_paypal_payerid

dhcernese:

1054 Unknown column 'customers_paypal_payerid' in 'field list'
in:
[SELECT customers_id, customers_firstname, customers_lastname, customers_paypal_payerid, customers_paypal_ec FROM customers WHERE ...

> How could it not have the right column if the PayPal module is installed and configured correctly already?
Good question, but clearly it doesn't. You'll need to fix that before you can continue. 
You can see the correct structure of the table in the /zc_install/sql/mysql_zencart.sql file.
23 Dec 2009, 7:09 PM
#4
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: Unknown column customers_paypal_payerid

DrByte:

Good question, but clearly it doesn't. You'll need to fix that before you can continue.
You can see the correct structure of the table in the /zc_install/sql/mysql_zencart.sql file.This appears to be a side-affect of my development site. Sorry. Somehow the database is out of sync with my live site.