Zen Cart Logo
Forums / PayPal Express Checkout support / Still Shiptostate-error after 28.02-patch

Still Shiptostate-error after 28.02-patch

Locked

Views: 1,503

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
1 Mar 2007, 9:34 PM
#1
pulsatilla avatar

pulsatilla

New Zenner

Join Date:
Oct 2006
Posts:
25
Plugin Contributions:
0

Still Shiptostate-error after 28.02-patch

... That is, if I try checking out directly on the express-button, I can prosess the order, but when I return to my zencart, it states that the customer has one billing address N.N, road 9, 1870 Orje, Norway, and one shipping address; N.N., road 9, 1870 Orje, United States - meaning norwegian VAT is deducted. If I try to change the shipping address back to Norway in the cart, the order won't go through due to differing amount.

If I try using paypal after creating or logging in to an account in the cart, I get the shiptostate-error and return to step one.

Is something set up wrong in my cart? Anyone can help me have a look?

1 Mar 2007, 9:51 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Still Shiptostate-error after 28.02-patch

Do you have Debug Logging enabled in your PayPal Express Checkout settings?
Can you zip and post the log files from /includes/modules/payment/paypal/logs ?

2 Mar 2007, 7:05 AM
#3
pulsatilla avatar

pulsatilla

New Zenner

Join Date:
Oct 2006
Posts:
25
Plugin Contributions:
0

Re: Still Shiptostate-error after 28.02-patch

Log-files attatched! Thank you for taking the time :smile:

2 Mar 2007, 9:37 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Still Shiptostate-error after 28.02-patch

Thanks for the log files, which appear to cover 3 test transactions.
They show one case of the shiptostate error.
However, I can't see a case where it's treating the country as US, so it's difficult to find a solution for that.

  1. Can you try to reproduce the problem again, and capture the new log files from that transaction?

  2. After you've recreated the problem and zipped the log files, please post them here.

  3. AFTER you've done that, THEN try applying the updated files in this patch ... does the problem persist ?

  4. Please post logs from your tests of this BETA patch.

EDIT
PATCH upgraded from beta to official. Posted here:

http://www.zen-cart.com/forum/showthread.php?p=337454#post337454

2 Mar 2007, 10:29 AM
#5
pulsatilla avatar

pulsatilla

New Zenner

Join Date:
Oct 2006
Posts:
25
Plugin Contributions:
0

Re: Still Shiptostate-error after 28.02-patch

1: Reproduce the error and 2: post new logs.
Have doen so, and reading the logs with my minor understanding, everything seems OK. However, when customer is returned to Cart, the billing address is in Norway and the shipping address is in the United States. On the Paypal-pages everything looks correct.

Now for step 3...

2 Mar 2007, 10:54 AM
#6
pulsatilla avatar

pulsatilla

New Zenner

Join Date:
Oct 2006
Posts:
25
Plugin Contributions:
0

Re: Still Shiptostate-error after 28.02-patch

... now I no longer get the shiptostate-error on normal checkout, but zen still believes that shipping is to US? No logs were produced.

Must be something in my settings in the cart... Have to take care of children now, but will try to set up a clean install later, maybe I have set up something wrong.

2 Mar 2007, 10:57 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: Still Shiptostate-error after 28.02-patch

Pulsatilla:

No logs were produced.I'm guessing that you removed and reinstalled the module but didn't re-enable debug logging ?

now I no longer get the shiptostate-error on normal checkout, but zen still believes that shipping is to US?Thanks for testing. There does appear to be a quirk somewhere. I can't tell just yet whether it's coming from PayPal or from Zen Cart...

2 Mar 2007, 12:15 PM
#8
pulsatilla avatar

pulsatilla

New Zenner

Join Date:
Oct 2006
Posts:
25
Plugin Contributions:
0

Re: Still Shiptostate-error after 28.02-patch

:blush: The error apparantly came from me - tried loading in the clean 1.3.7 database and now it works, shipping and all. That finally made me remember I had fiddeled with the countries-table to make checkout more "norwegian" - I changed the countries_name from norway to norge (local name). Changed it back to norway and voila - it works!

Sorry to have caused trouble - and thank you again for taking time with me, DrByte!
(I will not fiddle with code without knowing what I am doing again - I will not fiddle with code not knowing what I am doing again...)

2 Mar 2007, 7:37 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Still Shiptostate-error after 28.02-patch

LOL - glad it's working again !

(My next question was going to be about your country settings ... :P )