Coupon's made by AwoReferral aren't working


  • Default avatar
    lian34    
     12 years ago
    0

    Hi there!

    I've just finished configuring AwoReferral, and I've started to test the component with dummy accounts and there's one problem. The component generates the coupon codes but when a customer tries to use their coupon it doesn't work.

    Can you help with this please?

    Cheers
  • Your avatar
    seyi    
     12 years ago
    0

    what is the configuration of your coupon code? A common reason coupons do not work is because it requires the customer to log in before use and you are not logged in when trying it. if you have one or more of these in your coupon then it requires logging in:
    - selected specific user
    - selected specific shopper group
    - set number of uses per customer

    Also another way to debug is go to awocoupon->configuration->error messages and set the messages to something more identifiable.
  • Default avatar
    lian34    
     12 years ago
    0

    Hi

    I was logged in when I was testing the coupon - I've been testing it with a few dummy accounts that I've made up and none of the coupons are working. When I enter them at the check-out I keep getting the same error message, "Coupon code not found. Please try again." - the coupons definitely exist, I can see them on the back-end control panel, they just don't work, and I can't see what this error message means as I can't see it on the back-end.

    Lian
  • Your avatar
    seyi    
     12 years ago
    0

    The error message 'Coupon code not found. Please try again.' is default. Have you updated the error messages in awocoupon->configuration? Change them all to something identifiable. Also make sure awocoupon plugin for virtuemart is installed and enabled.
  • Default avatar
    lian34    
     12 years ago
    0

    All of the error messages are unique enough already for me to know what they are, but i updated them all to something different and and enabled the virtuemart plugin and now the entire page shows an error: -

    "Server error
    The website encountered an error while retrieving https://smithgeorge.co.uk/shop. It may be down for maintenance or configured incorrectly.
    Here are some suggestions:
    Reload this web page later.
    HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request."

    Would it be easier to give you back-end access so you can have a look?
  • Your avatar
    seyi    
     12 years ago
    0

    yes, that might be easier. i would need ftp access also. please pm me the details.
  • Your avatar
    seyi    
     12 years ago
    0

    ok, the problem is fixed. in version 2.0.8, this error happens on some versions of php. I implemented the fix detailed here:
    https://awodev.com/forum/awocoupon/help-section/parsing-error#comment-3176

    Coupon codes are working now, I tested it to verify.
  • Default avatar
    lian34    
     12 years ago
    0

    Thanks,

    it's working now, I just want to ask, are the coupons created by the AwoReferal ever emailed to the customer? Because so far customers are only able to access their coupons through their credit history - is this the only option available?
  • Your avatar
    seyi    
     12 years ago
    0

    It depends how you set it up. If you set the reward to be instant and selected a coupon template, then the customer should immediately receive an email. If you set to accumulate, then no, it will be accumulated in the customer's account and only emailed when requested.
  • Default avatar
    lian34    
     12 years ago
    0

    OK, I'm still slightly confused because I want to set it up so that the sponsor gets a 15% discount coupon emailed to them and the referred friend gets a £5 off coupon emailed to them.

    Is this possible and how do I do this? Or do they both have to be same discount amount? Can you please give me a step by step example so that I know I've got it right.

  • Your avatar
    seyi    
     12 years ago
    0

    When you set up both rules in AwoReferral, one for the sponsor and one for the friend, make sure you select a Payment type of 'Instant'. Then you will also need to select the coupon template (the coupon that should be copied) and the awocoupon profile (the profile used for emailing to the customer). Thats really it. If those are setup and the criteria of the rules are met, then the emails should be automatically sent.
  • Default avatar
    lian34    
     12 years ago
    0

    Hi seyi

    I've done that but the emails won't send automatically - all I get is an error message "Could not instantiate mail function." on the front end, but all other emails from AwoReferral and AwoCoupon Pro work fine.

    Can you please have a look at it? The login details are the same as last time.
  • Your avatar
    seyi    
     12 years ago
    0

    Ok, took a look and did a lot of commenting out till i found the problem. When it adds the bcc email is when it dies. So I went into the awocoupon profiles and set bcc admin to no and it all works now. I do not understand why it does not work if you include bcc. It is trying to bcc your admin@ email. Does this email account actually exist? If not maybe that is the reason it does not work... Not sure really just guessing.