Forums / PayPal Express Checkout support / PayPal express transaction info displayed ahead of customer comments sometimes?

PayPal express transaction info displayed ahead of customer comments sometimes?

Locked

Started by abe23 on 5 Jun 2010, 5:31 PM · Views: 1,267

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
5 Jun 2010, 5:31 PM
#1
abe23 avatar

abe23

New Zenner

Join Date:
Feb 2008
Posts:
3
Plugin Contributions:
0

PayPal express transaction info displayed ahead of customer comments sometimes?

Hi Zen Cart gurus,

I'm having a problem where transaction information from PayPal express is being saved to the Zen Cart order status history before the customer comments.

This means that when I print an invoice, the comments section is full of PayPal transaction info, rather than the actual customer comments. Presumably because the Zen Cart invoice page just takes the first comments from the order status history.

This only happens in some orders; not all. Does anyone know the reason why and how it could be resolved?

One option is obviously to re-write the comments part of the invoice page so it ignores PayPal info, but this seems like a bit of a hack.

Many thanks for your help.

7 Jun 2010, 2:22 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: PayPal express transaction info displayed ahead of customer comments sometimes?

It's impossible for the main comments to be stored after the payment summary comments are added.

However, it is possible that maybe you've lost or broken the indexes on your orders_status_history table (it can happen when exporting and importing when moving data between databases, etc esp if the mysql version is different). I suggest using phpMyAdmin to do a Repair Table process on that table. Then if that doesn't solve it, peek at the original mysql_zencart.sql file for the proper structure of the orders_status_history table and compare that with what you've got in your actual database. If there are any indexes missing you might want to put them in.

You didn't say what version of Zen Cart you're using, but of course upgrading to the latest version is always advisable.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.