If this is your first visit, check our documentation. To post, register or login.

Some order details missing

Started by deno on 31 Aug 2018, 4:50 PM · Views: 6,933

Results 1 to 13 of 13
31 Aug 2018, 4:50 PM
#1
deno avatar

deno

New Zenner

Join Date:
Mar 2009
Posts:
76
Plugin Contributions:
0

Some order details missing

Hi all

We've just put a new product in our store.

We have sold 100 of them and the order details come through just fine but there have been a couple of orders where the order details are not showing. I found the log of one of the orders. Can anyone see anything that's causing the issue and know how it can be resolved?

I've hastagged out some personal details but I think maybe the surname characters are the issue?

Thanks

Dene

http://www.gep.co.uk/myDEBUG-1535660459-654366.log

31 Aug 2018, 5:01 PM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Some order details missing

What does the Surname look like in your admin (admin->customers->customers)?

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

31 Aug 2018, 5:18 PM
#3
deno avatar

deno

New Zenner

Join Date:
Mar 2009
Posts:
76
Plugin Contributions:
0

Re: Some order details missing

Drössler

31 Aug 2018, 5:26 PM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Some order details missing

OK. What is the collation of your paypal table? (Go to phpMyAdmin, scroll down to the paypal table, then look to the right). It might say (for example) "latin1_general_ci."

Also: was your cart created at a prior version and then upgraded to Zen Cart 1.5.5?

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

31 Aug 2018, 6:38 PM
#5
deno avatar

deno

New Zenner

Join Date:
Mar 2009
Posts:
76
Plugin Contributions:
0

Re: Some order details missing

I've got:

utf8_general_ci

It was a fresh ZenCart installation using the zip file downloaded from the ZenCart site

31 Aug 2018, 7:47 PM
#6
lat9 avatar

lat9

Administrator

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

Re: Some order details missing

A link to the site that's experiencing this issue?

31 Aug 2018, 11:33 PM
#7
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: Some order details missing

the problem is definitely with the umlaut (ö).

something is definitely converting it to the \xF6. which looks to be Windows-1252 encoding.

are you hosting on a windows machine? it does not look like it to me.... put perhaps...

there is some chatter about it here:

https://goo.gl/CCqL7a

its possible that the return from paypal is wrong. if you look at one of the comments, there is a paypal setting that could be wrong. login to your paypal account and go here:

https://www.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-language-encoding

select more options and see what the encoding is there. if its set to windows-1252, then that's your problem... you should have it at utf-8.

i'm really not sure that is your problem though.... when i copy your sql statement and try it directly, it works fine in my test database where my paypal table is encoded the same as yours...

little tricky, but hopefully a few things to try.

good luck!

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

31 Aug 2018, 11:42 PM
#8
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Some order details missing

Deno:

I've got:

utf8_general_ci

It was a fresh ZenCart installation using the zip file downloaded from the ZenCart site

Good - now what is DB_CHARSET in includes/configure.php and CHARSET in includes/languages/YOUR_TEMPLATE/english.php ?

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

1 Sep 2018, 11:20 AM
#9
deno avatar

deno

New Zenner

Join Date:
Mar 2009
Posts:
76
Plugin Contributions:
0

Re: Some order details missing

It's showing in both as:

utf8

1 Sep 2018, 11:30 AM
#10
deno avatar

deno

New Zenner

Join Date:
Mar 2009
Posts:
76
Plugin Contributions:
0

Re: Some order details missing

carlwhat:

its possible that the return from paypal is wrong. if you look at one of the comments, there is a paypal setting that could be wrong. login to your paypal account and go here:

https://www.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-language-encoding

select more options and see what the encoding is there. if its set to windows-1252, then that's your problem... you should have it at utf-8.

I'm on linux but in PayPal it was, indeed, showing windows-1252

I've changed to utf-8 and we'll see if that resolves it

Thank you for your input

Dene

1 Sep 2018, 12:43 PM
#11
lat9 avatar

lat9

Administrator

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

Re: Some order details missing

Deno:

It's showing in both as:

utf8
That could be the issue. The DB_CHARSET value (in the configure.php) should be utf8, but the CHARSET value (in the language file) should be utf-8. Note that included dash.

1 Sep 2018, 2:16 PM
#12
deno avatar

deno

New Zenner

Join Date:
Mar 2009
Posts:
76
Plugin Contributions:
0

Re: Some order details missing

lat9:

That could be the issue. The DB_CHARSET value (in the configure.php) should be utf8, but the CHARSET value (in the language file) should be utf-8. Note that included dash.

Ah, sorry, my mistake. The language file DOES include the dash: utf-8

1 Sep 2018, 3:38 PM
#13
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: Some order details missing

well that is good to know! because if that was the problem, i would have thought you would see far more issues! thanks for clarifying that.

pretty confident/hopeful that the setting you changed at paypal was the problem.

not sure when you will next get an order from a customer with an umlaut, but you never know.

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.