Restricted Gift Certificate Error


  • Your avatar
    north40soap    
     10 months ago
    0

    Hello all,

    I am using the following:

    HikaShop Essential: 2.6.4

    AWO Version: 2.5.4 pro

    Joomla! 3.6.5

    The challenge I am having is that no matter whether I sell a gift certificate or, create on and add it to a customers balance I receive the Restricted Gift Certificate Error message.

    I have read through all the documentation, and searched the forum for an answer. I need help.

    What could I have wrong in my settings or setup that would be causing this error?

    Thanks for any help you can provide.

  • Your avatar
    seyi    
     10 months ago
    0

    Hello,

    In the gift certificate you are creating you must be adding some type of restriction.  When adding the gift certificate to the customer balance, the customer can then use that balance on any items in your store without restrictions, so no restrictions are allowed when adding a giftcert to balance.  This includes:
    - checking Exclude Gift Certificate Products
    - entering product restriction
    - entering shipping restriction

  • Your avatar
    north40soap    
     10 months ago  last edited 10 months ago
    0

    Thanks for the response. It actually turned out to be the exclude Gift Certificates restriction.


    Thanks for the help.


    When trying to add a Gift Card to a user balance.....without also placing an order....I get an error.  What I am looking for is the field that will allow an override to inform customers that GC can only be applied as part of an order. 

    I found COM_AWOCOUPON_GBL_ERROR but that does not change the error message. 

    Any thoughts about what I should search for to create the override? 

    Thanks in advance for any help you can provide.

  • Your avatar
    seyi    
     9 months ago
    0

    Hello,

    Ok, so here are the errors thrown:
    If it cannot find the coupon at all it throws COM_AWOCOUPON_GBL_ERROR_GIFTBALANCE
    If it finds there is a restriction then it throws COM_AWOCOUPON_GC_RESTRICTED

    So for restricted gift certificates you can update COM_AWOCOUPON_GC_RESTRICTED.
  • Your avatar
    north40soap    
     9 months ago
    0

    Thanks for the clarification of the error messages however; the error I received did not specify "Restricted Gift Certificate" it simply said Error. That would indicate there is another issue.  I will continue to research. Thanks for the reply.
  • Your avatar
    seyi    
     9 months ago
    0

    Ok, so I looked some more, and the 'error': COM_AWOCOUPON_GBL_ERROR is thrown at the very last stage:

    If it finds that the balance left on the gift certificate is 0 and has been used up completed, then that error is thrown.

    And this is in the file:
    www/administrator/components/com_awocoupon/helpers/awolibrary.php, line 1185:
    <?php
                
    if(empty($balance)) {
                    if($is_display_errorJFactory::getApplication()->enqueueMessage(JText::_('COM_AWOCOUPON_GBL_ERROR'), 'error');
                    return false;
                }
    ?>


  • Default avatar
    allen1    
     6 months ago
    0

    We also sell pre-paid vouchers, which are simply dynamically-generated AWO gift certificates. Naturally, we restrict the discounted pre-paid vouchers from being used to purchase additional discounted pre-paid vouchers. Otherwise the customer could eventually create credit over 100% of the original investment.


    Customers must be able to see their credit balance, and AWO does not allow them to do so with these restricted gift certificates. This should be improved.


    Regards,

    Allen

  • Your avatar
    seyi    
     6 months ago
    0

    Hello,

    In the latest version, 2.5.7, you can now globally select product category and or shipping method to exclude for AwoCoupon balances.