Page 1 of 3 123 LastLast
Results 1 to 10 of 29
  1. #1
    Join Date
    Feb 2010
    Posts
    3
    Plugin Contributions
    0

    Default Gift Certificate not Crediting

    Hello,
    I didn’t see a fix in the previous posts for this problem:
    New customer creates a new account and a $5 gift certificate code is emailed to him; he enters the redemption code during checkout, but the $5 is not credited toward his purchase. How to fix? Please advise. Thank you.
    Current Specs:
    • PHP Version 5.2.9
    • MySQL 5.0.89
    • Zen Cart 1.3.0.2, Patch: 1, Database Patch Level: 1.3.0.2 (Given I just took this site over and it's my first ZenCart site, we're hiring someone this weekend to upgrade the site to the current ZenCart version; however, in the meantime, I need a fix to this gift certificate issue.)

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: Gift Certificate not Crediting

    Entering the code places the amount into their account ...

    They have to add it by applying the amount to their order ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Feb 2010
    Posts
    3
    Plugin Contributions
    0

    Default Re: Gift Certificate not Crediting

    Thank you, I should have included in my original post that I did a test purchase and in that applied the amount and it still didn't credit the total.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: Gift Certificate not Crediting

    Try it again ...

    What happens on a new account that does not follow the email link, is that you enter the code on the checkout_payment page ... if a payment module is selected then it will apply the Gift Certificate to the customer's GV account, but it has NOT applied any of that amount to the Order ...

    Unless the customer enters an amount in the
    Apply Amount:

    input box, nothing is applied to the Order itself, it is just added to the Customer's Gift Certificate balance ...

    What is happening is, the
    Apply Amount:

    input box is not showing as there isn't a balance in the Customer's Account when they get to the checkout_payment ...

    Unfortunately, they add the GV code and, having selected a Payment choice, go on to the checkout_confirmation ... and do not have the amount applied to the order ...

    One method to help the customer out is to ALWAYS show the
    Apply Amount:

    input box, regardless of whether or not they have a GV balance ...

    In the Gift Certificate order total module
    /includes/modules/order_total/ot_gv.php

    you could customize this by changing the line:
    Code:
        $this->checkbox = $this->user_prompt . '<input type="text" size="6" onkeyup="submitFunction()" name="cot_gv" value="' . number_format($_SESSION['cot_gv'], 2) . '" onfocus="if (this.value == \'' . number_format($_SESSION['cot_gv'], 2) . '\') this.value = \'\';" />' . ($this->user_has_gv_account($_SESSION['customer_id']) > 0 ? '<br />' . MODULE_ORDER_TOTAL_GV_USER_BALANCE . $currencies->format($this->user_has_gv_account($_SESSION['customer_id'])) : '');
    Currently, that tests is there a GV Balance for the customer, and if there is, the input box is shown ... if there is not a GV Balance then the input box is not shown ...

    Change that line so that it always shows ...

    Now the customer can enter the GV code and amount to apply to the order ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  5. #5
    Join Date
    Feb 2010
    Posts
    3
    Plugin Contributions
    0

    Default Re: Gift Certificate not Crediting

    Thank you!

  6. #6
    Join Date
    Mar 2009
    Posts
    379
    Plugin Contributions
    0

    Default Re: Gift Certificate not Crediting

    Hi. I cannot find the "Apply Amount" box. I entered a gift certificate amount in the discount box and was told it was redeemed, but I do not see the funds anywhere.

    I will, of course, log out and log back in, to see what happens, but placing myself in the shoes of the customer, I don't want to lose a customer by having this happen.

    Basic question: At the moment, there are existing funds in my gift certificate redemption account (notwithstanding that the ones I tried to apply to a purchase as a discount certificate disappeared into redemption-space). Despite funds being there, I cannot locate an "Apply Amount" box.

    Second question: I do not know how to change the code Ajeh has identified so that the "Apply Amount" box is always showing.

    Third question: I thought I once saw a box for "gift certificate" right above or below the "discount certificate" box. That would be a really clear invitation to apply a gift certificate. However, I do not see such a box now. Is the existence of such a box a figment of my imagination?

    Thanks for any responses.

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: Gift Certificate not Crediting

    Discount Coupons are redeemed in the Redeem Discount Coupon and Gift Certificates are redeemed in the Redeem Gift Certificiate Code ...

    Did you have a Discount Coupon to redeem or a Gift Certificate?

    How did you receive the Discount Coupon?

    How did you receive the Gift Certificate? Did you "buy the gift certificate" or did it get sent from the Admin?
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  8. #8
    Join Date
    Mar 2009
    Posts
    379
    Plugin Contributions
    0

    Default Re: Gift Certificate not Crediting

    Ajeh, thanks for responding.

    I have it set up to send both a discount coupon and a $2 gift certificate upon a new login.

    I successfully used the discount coupon code in the discount coupon box.

    I redeemed the gift certificate sent to my test self as a new customer.

    I then sent it to myself, which I am recommending my customers do to become familiar with the gift process.

    Remaining logged in, I sent part of the funds to myself again, so that left only $.50 in my gift account.

    I then tried a purchase using the code from the gift certificate, but could not see how to use it. I then put that code in the discount coupon box. The first time, nothing happened, but the second time I did this it gave me the green message that it had been redeemed.

    However, the funds did not appear in my gift certificate account and have not reappeared after I logged out and in again.

    I am not sure why I cannot see an option to apply funds.

  9. #9
    Join Date
    Mar 2009
    Posts
    379
    Plugin Contributions
    0

    Default Re: Gift Certificate not Crediting

    I have been reading the thread here and found post 180 that seems on the subject, but the code is different from the code section referenced above:

    http://www.zen-cart.com/forum/showthread.php?t=35726

  10. #10
    Join Date
    Mar 2009
    Posts
    379
    Plugin Contributions
    0

    Default Re: Gift Certificate not Crediting

    Well, that link didn't work but here is the Post #180 on page 19 of the thread I was trying to link to:
    Re: Gift Certificate Help Please
    The Apply Amount: box does not show unless there is a GV balance in the customer's account ...

    You could change this by customizing the Gift Certificate module and change:
    Code:
    function selection_test() {
    if ($this->user_has_gv_account($_SESSION['customer_id'])) {
    return true;
    } else {
    return false;
    }
    }
    to read:
    Code:
    function selection_test() {
    if ($this->user_has_gv_account($_SESSION['customer_id'])) {
    return true;
    } else {
    return true;
    }
    }
    This would display the Apply Amount: with or without a current balance so that the customer can enter the GV Redeem Code, the Apply Amount, Select PayPal and click CONTINUE and when you get to the checkout_confirmation you will see the Success Message on the Redeem of the Gift Certificate and the amount entered in the Apply on the Order so that when the customer goes to PayPal the amount has been deducted ...
    ##############################___
    Linda McGrath
    If you have to think ... you haven't been zenned ...

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Change all references of 'Gift Certificate' to 'Gift Voucher'
    By crashtackle in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Jan 2010, 08:21 PM
  2. coupon for free gift with gift certificate purchase?
    By tkepler in forum Creating Discounts/Coupons, Gift Certificates, Newsletters
    Replies: 1
    Last Post: 24 Jul 2008, 03:31 PM
  3. Want to use a printed gift certificate (with code) in the gift certificate process?
    By HelenSama in forum Creating Discounts/Coupons, Gift Certificates, Newsletters
    Replies: 9
    Last Post: 15 Apr 2008, 02:04 PM
  4. Disable buying gift certificate with a gift certifcate
    By eaglewu in forum Creating Discounts/Coupons, Gift Certificates, Newsletters
    Replies: 1
    Last Post: 28 Jan 2007, 04:46 AM
  5. Gift Certificate Order with no Gift Certificate?
    By Jeff_Mash in forum Bug Reports
    Replies: 20
    Last Post: 14 Oct 2006, 09:10 PM

Bookmarks

Posting Permissions

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