Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2015
    Location
    Florida
    Posts
    3
    Plugin Contributions
    0

    cart error Invalid Coupon code error does not show to customer

    When a customer puts in an invalid coupon code they are redirected back to Step 2 of 3 during checkout. The alert message "Invalid Coupon Code" does not display for the customer. I have multiple sites using zen cart and it works on those sites. I have even done a file comparison on the includes folder between the sites and the order total and coupon files are the same. I checked the PHP settings and they were the same as well. I displayed all the defined variables and noticed certain items were not passed back to the array.

    Array from the working site

    Array
    (
    [messageStack] => messageStack Object
    (
    [messages] => Array
    (
    [0] => Array
    (
    [params] => class="messageStackCaution larger"
    [class] => redemptions
    [text] => Warning Invalid Coupon Code
    )

    )

    )

    [module_list] => Array
    (
    [0] => ot_subtotal.php
    [1] => ot_coupon.php
    [2] => ot_group_pricing.php
    [3] => ot_tax.php
    [4] => ot_shipping.php
    [5] => ot_loworderfee.php
    [6] => ot_gv.php
    [7] => ot_total.php
    )

    [value] => ot_coupon.php
    [lang_file] => includes/languages/english/modules/order_total/ot_coupon.php
    [module_file] => includes/modules/order_total/ot_coupon.php
    [class] => ot_subtotal
    )

    Array from the site that is not working

    Array
    (
    [messageStack] => messageStack Object
    (
    [messages] => Array
    (
    )

    )

    [module_list] => Array
    (
    [0] => ot_subtotal.php
    [1] => ot_coupon.php
    [2] => ot_group_pricing.php
    [3] => ot_tax.php
    [4] => ot_shipping.php
    [5] => ot_loworderfee.php
    [6] => ot_gv.php
    [7] => ot_total.php
    )

    [value] => ot_coupon.php
    [lang_file] => includes/languages/english/modules/order_total/ot_coupon.php
    [module_file] => includes/modules/order_total/ot_coupon.php
    [class] => ot_subtotal
    )

    I am new to zen cart and php so any help would be greatly appreciated. I am even wondering if this is a godaddy server issue.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,872
    Plugin Contributions
    96

    Default Re: Invalid Coupon code error does not show to customer

    Do you have any checkout-related plugins installed on the store where the message is not displayed?

  3. #3
    Join Date
    Feb 2015
    Location
    Florida
    Posts
    3
    Plugin Contributions
    0

    Default Re: Invalid Coupon code error does not show to customer

    I do not believe so. I came on after this has been in production. The main things that I have done is move servers on Go Daddy, they were on a server without cpanel, and upgrade from 1.5.1 to 1.5.3

  4. #4
    Join Date
    Feb 2015
    Location
    Florida
    Posts
    3
    Plugin Contributions
    0

    Default Re: Invalid Coupon code error does not show to customer

    Problem solved! Need to upgrade php version to 5.4. Currently 5.3.

 

 

Similar Threads

  1. GV invalid coupon code
    By shellbell-19 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 9 Dec 2010, 12:47 AM
  2. Discount Coupon does not show
    By Maynards in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 29 Apr 2010, 12:31 AM
  3. Discount Code - Invalid Code Message Not Appearing - FEC
    By pennylane in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 11 Jan 2010, 11:21 PM
  4. PnP CC Error Zip Code does not match
    By soundsgreektome in forum Addon Payment Modules
    Replies: 2
    Last Post: 5 Dec 2008, 05:14 AM
  5. Internet explorer 7 does not show error box
    By Pauls in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 31 Dec 2007, 07:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg