Voucher/Gift certificate that discount order to zero...


  • Default avatar
    vincenzo1    
     7 years ago
    0

    seems to not work in Virtuemart (last version).


    These are the step I make to create and send a voucher:


    > Create a profile;

    > Create a coupon (type: gift certificate)

    > Send coupon


    In front end, if I try the coupon, it subtract the import to the order but... When I clic on "Proceed with order" it doesn't go to the next page (confirmation). It remains on the page with "Confirm order"


    Even if there is a payment method for free order in my VirtueMart setting.


    Can you help me with this?

  • Your avatar
    seyi    
     7 years ago
    0

    Hi,

    I see you replied by email:

    I write this for future documentation.

    If I apply the voucher to an order, than it becomes < 0.00.

    So,
     in the "free" payment method, we have to set both the maximum (e.g. 
    0.0001 - standar method is setted with minimum of 0.0001) and the 
    minimum, say -9999.99

    In this way we activate the "free" payment method.


    Strange that the total is less than 0 because AwoCoupon does check for this and does not discount more than to make the total 0.  There must be very small error.  In any case, glad you got this solved.
  • Default avatar
    vincenzo1    
     7 years ago  last edited 7 years ago
    0

    Hi!

    Well, the problem was solved with that solution :)

    Very thanks to you
    Hi

    I don't understand but... The problem RE emerged...
  • Your avatar
    seyi    
     7 years ago
    0

    You might be having this issue:
    http://forum.virtuemart.net/index.php?topic=120972

    In which case, going to awocoupon->configuration and changing 'Order state to trigger coupon processing' to something other than 'order created' should fix it.
  • Default avatar
    vincenzo1    
     7 years ago  last edited 7 years ago
    0

    Very thanks


    I


    Hi,


    I write here the (1) configuration I set, (2) the step for create the gift certificate, and (3) the result.


    1. CONFIGURATION


    In particular, Trigger:


    Order state for activation of coupon elaboration: Confirmed, Shipped, Complete

    Order state for ripristionation the coupon number of use: Cancelled, Redunded, Refused.


    2. CERTIFICATE / VOUCHER CREATION


    a. Profile creation

    --- Name: "Send voucher"


    b. New Coupon

    --- Type -> Template

    --- Name "Store Credit 1"


    c. Send Voucher

    --- Recipient: customer email

    --- Coupon Type: Template

    --- Profile: "Send Voucher"


    --


    NOW, the customer received a random number voucher; his account was associated with the store credit (xx,xx € ).


    When the customer utilizes the coupon at the checkout... The system says "Not valid coupon".

  • Your avatar
    seyi    
     7 years ago
    0

    In awocoupon->configuration->error message tab, click the debug button and save, then use the coupon again in the front end.  What error do you receive?
  • Default avatar
    vincenzo1    
     7 years ago  last edited 7 years ago
    0

    Hi Seyi,


    There is no error.


    I explain what happened in the Front End.


    The customer received the voucher code, say " promocode " and credit € 100.00.


    The customer inserted the coupon in the checkout at the first order. The order is 20 €, so it is free and the customer can proceed to the thank you page without passing through payment.


    The system add to customer balance the difference: 80 €

    indicating the code for use the blance, that is the same " promocode "


    This is all right.


    The problem is when the customer want to RE use the coupon in other order. When the customer inserts the coupon code, the system says " Not valid coupon ".


    Even if there are 80 € in the credit.

  • Your avatar
    seyi    
     7 years ago
    0

    Do you have 'Gift certificate balance' enabled?  If so, do you have 'Automatically add valid Gift Certificate to Balance on coupon usage' set to yes?  If so, then i think the code is being converted into a balance for the customer, making the code invalid.  In that case the customer would have to log in and use their balance.
  • Default avatar
    vincenzo1    
     7 years ago
    0

    Hi Seyi,


    Both the option enabled.


    But even if the customer has logged in, the coupon is invalid.


  • Your avatar
    seyi    
     7 years ago
    0

    The coupon does not exist anymore, it is now part of the customer balance.

    Please see this blog: https://awodev.com/blog/awocoupon-gift-certificate-balance
    The section 'Using the Balance' explains more

  • Default avatar
    vincenzo1    
     7 years ago
    0

    Ok, I understand... And it works. ;)