Site maintenance: Sun 15 Nov, from 20:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Addon Payment Modules / NMI payments: missing order comments

NMI payments: missing order comments

Started by illusionguy on 23 Feb 2010, 9:08 PM · Views: 3,212

Results 1 to 20 of 21
23 Feb 2010, 9:08 PM
#1
illusionguy avatar

illusionguy

Zen Follower

Join Date:
May 2007
Posts:
136
Plugin Contributions:
0

NMI payments: missing order comments

Hello everyone,

Can someone tell me why some orders have customer comments and others do not? See attached image, all 3 of these orders have the same order status, and the same type of comment usps tracking number.

Did these clients submit a comment if so where do you check it?

23 Feb 2010, 11:29 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: NMI payments: missing order comments

Can someone tell me why some orders have customer comments and others do not?
I would guess that not all costomers made comments...

Zen-Venom Get Bitten

24 Feb 2010, 12:28 AM
#3
crunch avatar

crunch

Zen Follower

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

Re: NMI payments: missing order comments

IllusionGuy:

Hello everyone,
Can someone tell me why some orders have customer comments and others do not?

When a customer goes to Checkout (Step 1 of 3), they will see a section at the bottom of the page titled, "Special Instructions or Comments About Your Order." This section is where they can input a comment about the order. If they don't fill anything in, there won't be any comments to see in admin and no yellow box next to the order.

IllusionGuy:

Did these clients submit a comment if so where do you check it?

In your Admin, click on the customer order or click the edit button. At the bottom of the page you will see their comments (if they added any to the order during checkout).

24 Feb 2010, 8:25 AM
#4
illusionguy avatar

illusionguy

Zen Follower

Join Date:
May 2007
Posts:
136
Plugin Contributions:
0

Re: NMI payments: missing order comments

Thanks for the replies guys, what am I missing??? If I click on Customers > Orders than a order lets say the one from Alison, you can see the order is flagged with the yellow box, but in the attached first screen you can see there are no comments and on the order details page there are no comments by the customer?

Update:
The attached images where to small to tell what was going on:
http://test.c-s-wilson.com/images/screen-1.jpg
http://test.c-s-wilson.com/images/screen-2.jpg

1 Apr 2010, 4:23 PM
#5
carney avatar

carney

New Zenner

Join Date:
Apr 2010
Posts:
1
Plugin Contributions:
0

Re: NMI payments: missing order comments

I have a client that states they are not getting the "Special Instructions or Order Comments" showing up on their order confirmations/ print out of orders. I see in this thread how you hide this feature, however is there a global way to confirm that this shows up on all orders.

very new to zen...any help would be appreciated

looks like i am running version: zen-cart-v1.3.7.1
thanks

2 Apr 2010, 10:30 AM
#6
illusionguy avatar

illusionguy

Zen Follower

Join Date:
May 2007
Posts:
136
Plugin Contributions:
0

Re: NMI payments: missing order comments

thanks for the reply carney, I'm almost thinking this is a bug, I was not able to find where the info is displayed if a client submits information in their order, I can see where it normally would be but it does not show up for us ether. :mellow:

2 Apr 2010, 11:58 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: NMI payments: missing order comments

IllusionGuy, the ONLY time you'll see that yellow "comments" icon is when the customer enters a comment during checkout.
That comment will appear in the FIRST order-status-history line with the green-checkmark. All other comments will NOT trigger the yellow icon.

carney's issue sounds like it's something else altogether, and would be suitable for discussion in a separate thread.

.
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.

15 Dec 2010, 2:57 PM
#8
jasmel avatar

jasmel

Zen Follower

Join Date:
Feb 2008
Location:
Washington State
Posts:
230
Plugin Contributions:
0

Re: NMI payments: missing order comments

IllusionGuy:

Thanks for the replies guys, what am I missing??? If I click on Customers > Orders than a order lets say the one from Alison, you can see the order is flagged with the yellow box, but in the attached first screen you can see there are no comments and on the order details page there are no comments by the customer?

Update:
The attached images where to small to tell what was going on:
http://test.c-s-wilson.com/images/screen-1.jpg
http://test.c-s-wilson.com/images/screen-2.jpg

I too am having this issue.

See IllusionGuy's first screen shot: and my attached screen shot.

You will see that there is a yellow dot/ball indicating a comment has been left. However, the "Comment" is not being displayed in the right column's "preview" box.

How would one go about fixing this? (around admin/orders.php line number 928?)

~ jasmel : ** My Store** Using Contributions: Wallet Theme | Simple Google | Quantity Discounts | Godaddy | FAQ's | Confirm Email Address Entry | Admin login as customer | Newsletter Subscribe | CampaingMonitor

5 Aug 2011, 5:23 PM
#9
jorger avatar

jorger

New Zenner

Join Date:
Aug 2010
Posts:
53
Plugin Contributions:
0

Re: NMI payments: missing order comments

I have the some question, have your ever resolved this?

Thanks

Jorge

5 Aug 2011, 8:47 PM
#10
jasmel avatar

jasmel

Zen Follower

Join Date:
Feb 2008
Location:
Washington State
Posts:
230
Plugin Contributions:
0

Re: NMI payments: missing order comments

JorgeR:

I have the some question, have your ever resolved this?

Thanks

Jorge

Nope. Figured it would be in next major overhaul of the store.

~ jasmel : ** My Store** Using Contributions: Wallet Theme | Simple Google | Quantity Discounts | Godaddy | FAQ's | Confirm Email Address Entry | Admin login as customer | Newsletter Subscribe | CampaingMonitor

5 Aug 2011, 10:32 PM
#11
drbyte avatar

drbyte

Sensei

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

Re: NMI payments: missing order comments

Is the comment just a blank line? If so, then that would explain why you see nothing other than blank space.

.
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.

5 Aug 2011, 10:42 PM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: NMI payments: missing order comments

The Order display listing only shows the Yellow icon and, if the order is clicked on, you will see the word: Comment ... the actual comments themselves do not display on the right panel ...

Do you see the Comments when you edit the Order? :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 May 2013, 1:46 AM
#13
510ego avatar

510ego

New Zenner

Join Date:
Feb 2011
Posts:
100
Plugin Contributions:
0

Re: NMI payments: missing order comments

on 1.50 i am getting the same thing (i think) customer places an order, places 'comments' in the comment box ie: "i would like my free one to be..." in 1.39h it's 'customer comments' came in the order confirmation to "admin@MY_SITE.COM" and the colored icon would be on the order line that the customer indicated a comment. my first 6 orders using 1.50 did no such action, and my customers (4 out of 6 of them) made comments on the order.

site is http://510ego.com zen-cart v1.50 using abbington-mega template.

please just indicate the file to modify, fix(manually debug) or find the on/off switch line.

thanks in advance

2 May 2013, 2:39 AM
#14
510ego avatar

510ego

New Zenner

Join Date:
Feb 2011
Posts:
100
Plugin Contributions:
0

Re: NMI payments: missing order comments

MY_ADMIN/includes/languages/english/orders.php

Line #19 : define('TABLE_HEADING_COMMENTS', 'Comments');

Line #59 : define('ENTRY_NOTIFY_COMMENTS', 'Append Comments:');

Line #79 : define('EMAIL_TEXT_COMMENTS_UPDATE', '<em>The comments for your order are: </em>');

Line #117 : define('TABLE_HEADING_CUSTOMER_COMMENTS', 'Customer<br />Comments');

Line #118 : define('TEXT_COMMENTS_YES', 'Customer Comments - YES');

Line #119 : define('TEXT_COMMENTS_NO', 'Customer Comments - NO');

i believe that line 117 should read:
Line #117 : define('TABLE_HEADING_CUSTOMER_COMMENTS', 'Customer Comments');

could someone check this please?

2 May 2013, 2:42 AM
#15
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: NMI payments: missing order comments

Customer<br />Comments displays as

Customer
Comments

Instead of

Customer Comments

Zen-Venom Get Bitten

2 May 2013, 4:20 AM
#16
510ego avatar

510ego

New Zenner

Join Date:
Feb 2011
Posts:
100
Plugin Contributions:
0

Re: NMI payments: missing order comments

you have helped me greatly in the past. customers comments are not getting into the order confirmation sent to "admin@MY_SITE.com" nor are they saved where i can see them. where can i edit the code to get the customer comment on the order checkout? should i check the coding on the payment module? thanks v1.50 abbington_mega nmi payment module (from nmi website).

2 May 2013, 4:42 AM
#17
510ego avatar

510ego

New Zenner

Join Date:
Feb 2011
Posts:
100
Plugin Contributions:
0

Re: NMI payments: missing order comments

could be here? MY_ADMIN/orders.php

Line #890 : ```php

<td class="dataTableContent" align="center"><?php echo (zen_get_orders_comments($orders->fields['orders_id']) == '' ? '' : zen_image(DIR_WS_IMAGES . 'icon_yellow_on.gif', TEXT_COMMENTS_YES, 16, 16)); ?></td> ```

Line #962 : // indicate if comments exist

Line #963 : ```php
$orders_history_query = $db->Execute("select orders_status_id, date_added, customer_notified, comments from " . TABLE_ORDERS_STATUS_HISTORY . " where orders_id = '" . $oInfo->orders_id . "' and comments !='" . "'" );


Line #965 : ```php
$contents[] = array('align' => 'left', 'text' => '<br />' . TABLE_HEADING_COMMENTS); 

line 962 is // in the start of the line, does that not mean "ignore" or is there some bug in these lines?

or line 963 (removed last ")

Line #963 : ```php
$orders_history_query = $db->Execute("select orders_status_id, date_added, customer_notified, comments from " . TABLE_ORDERS_STATUS_HISTORY . " where orders_id = '" . $oInfo->orders_id . "' and comments !='" . "' );


Where ' or " may be misplaced.??
2 May 2013, 6:18 AM
#18
510ego avatar

510ego

New Zenner

Join Date:
Feb 2011
Posts:
100
Plugin Contributions:
0

Re: NMI payments: missing order comments

found out it has to be a line missing from the processing gateway module. tested "money order" module and it worked perfectly...so if anyone else runs into the same issue. test in "money order" mode.

has nothing to do with zen-cart or template!!

2 May 2013, 4:12 PM
#19
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: NMI payments: missing order comments

found out it has to be a line missing from the processing gateway module. tested "money order" module and it worked
Glad you have located the culprit

Zen-Venom Get Bitten

3 May 2013, 4:53 PM
#20
510ego avatar

510ego

New Zenner

Join Date:
Feb 2011
Posts:
100
Plugin Contributions:
0

Re: NMI payments: missing order comments

prosessor nmi does not support comments in zen-cart. is there any way to add a line in their code to get the comments? ideas? (i added a line to customers using credit/debit cards to e-mail comment to me)