None of the coupons is working


  • Default avatar
    mile2    
     4 years ago  last edited 4 years ago
    0

    Since the last Joomla Update (Joomla! 3.7.2)  none of the coupons working. 

    All coupons have this error when i test them: Coupon code not found. Please try again.


    We have the new version of AwoCoupon


     


    This is what i did so far: I disable One Page Checkout and try again. Same error

    I disable the template and try with Joomla default template, Same error

    I try with Virtuemart coupon, Same Error


    So i don't know what is the problem


    i did Settings - Coupon Code Error Description and none of my errors are: Coupon code not found. Please try again
  • Your avatar
    seyi    
     4 years ago  last edited 4 years ago
    0

    Hello,

    I have the latest version of Joomla, 3.7.2, and not having any problems with coupons.  Can you go to awocoupon->configuration->error messages, click the debug button and then save, then try the coupon again to see why it fails.

    i did Settings - Coupon Code Error Description and none of my errors are: Coupon code not found. Please try again

    Is this a virtuemart site, do you have Vmcoupon - AwoCoupon plugin enabled?
  • Default avatar
    mile2    
     4 years ago  last edited 4 years ago
    0

    Latest Version InstalledInstalled Version:2.5.7  this is AwoCoupon
    "Is this a virtuemart site, do you have Vmcoupon - AwoCoupon plugin enabled?"


    Yes i just check the plugin and is enabled. If i disable the plugin and create coupon in Virtuemart this coupon is working


    So i think the problem is in AwoCoupon but i don't know what can be the problem
  • Your avatar
    seyi    
     4 years ago
    0

    Is the coupon you are trying to use created in AwoCoupon?

    Possible to have a look directly?  If so please send temp admin/ftp access via private message.

  • Default avatar
    mile2    
     4 years ago  last edited 4 years ago
    0

    All of the coupons are not working. We have probably thousands. They use to work 2 weeks ago.
    I send you message
    "Is the coupon you are trying to use created in AwoCoupon?"

    Yes all of them


    I found the problem. Is the plugin for Abandoned Cart. I have to talk with the developer now
    What you think can be the problem with this plugin?
    https://extensions.joomla.org/extension/abandoned-cart-for-virtuemart/
  • Your avatar
    seyi    
     4 years ago
    0

    Ok great.  I think it might be stopping execution causing AwoCoupon not to run?? Maybe if you order AwoCoupon in front of it, it might work better.
  • Default avatar
    mile2    
     4 years ago
    0

    I can't move VmCalculation - AwoCoupon plugin on front. Joomla is not letting me do this
  • Your avatar
    seyi    
     4 years ago
    0

    Hello,

    Did you mean VmCoupon - AwoCoupon?  What category is the abandoncart plugin in?
  • Default avatar
    mile2    
     4 years ago
    0

    "Did you mean VmCoupon - AwoCoupon?"

    Yes :)

    "What category is the abandoncart plugin in?"

    What do you mean by category? It's just plugin under plugin page in Joomla

  • Your avatar
    seyi    
     4 years ago
    0

    On the plugins page, there is the "element" column.  What does it say for abandoned cart?
  • Default avatar
    mile2    
     4 years ago
    0

    It says: abndcart
  • Your avatar
    seyi    
     4 years ago
    0

    Ok, was hoping it would be "vmcoupon".  As it is not, you cannot order it.  You will have to contact the developers.
  • Your avatar
    mahoot    
     4 years ago  last edited 4 years ago
    0

    i have the same experience with Abandoned cart Plugin.

    is there a problem in their plugin?

    as i know, plugins shouldn't interfere with each other, except on rare situations.

    i believe one of these plugins has bad coding...


    Here is my discussion with their support:

    i said: Your component shouldn't interfere with another component. I'm talking about awocopun which is the most popular component in coworking with virtuemart.

    they said: As you know that coupon system is an essential part for an Abandoned cart notification system, and not all our customers use AWOcoupons, it may be a most popular component in coworking with virtuemart, but still not all users use this extension for their store, if we would have implemented an all new Coupon system with our extension it would still be an issue for those who use Vmcoupons, so we have used Vmcoupon with some restrictions so that its helpful for users, if you want we could customize our extension to work with the AWOCoupon but it will be a part of customization.

  • Your avatar
    seyi    
     4 years ago
    0

    I guess you have their answer.  I am willing to work with any developers to help get our extensions working together, but they dont seem interested.  Guess you have to choose between AwoCoupon or the abandoned cart software, or pay for them to get it working with AwoCoupon.
  • Your avatar
    mahoot    
     4 years ago
    0

    seyi @ May 29, 2017, 7:31:09 PM
    I guess you have their answer.  I am willing to work with any developers to help get our extensions working together, but they dont seem interested.  Guess you have to choose between AwoCoupon or the abandoned cart software, or pay for them to get it working with AwoCoupon.
    can i ask you for investgating the Problem?
  • Default avatar
    mile2    
     4 years ago
    0

    I was thinking the same thing but is not going to be fair for seyi to help us because we pay money for Abandoned Cart too.... Sometimes this thing make me mad! If people from Abandoned Cart want to work together then this is something else but they don't!
  • Your avatar
    mahoot    
     4 years ago
    0

    I agree...

    But I prefer to pay that money to seyi, instead of this people with their bad support... We can pay half of the price each one to awocopun developers to solve the problem.

  • Your avatar
    seyi    
     4 years ago
    +1

    Hello,

    Send me a private message with link to the extension and I can look at it.  Reading the developer's answer, it seems it would take an overall of their software to get it to work with AwoCoupon, and in doing so would stop working with vm coupon.  At the very least I dont mind looking at it.
  • Your avatar
    mahoot    
     4 years ago
    0

    thank you seyi. the message has been sent.
  • Your avatar
    seyi    
     4 years ago  last edited 4 years ago
    0

    Hello,

    Thanks for the access.  Looking at the code, the abandoned cart plugin completely takes over the coupon processing, sort of does what AwoCoupon does, and I do not understand why.  What does abandoned cart do with coupons that it needs to take over the current user cart?

    Its very interesting, alot of its code in the below file is from AwoCoupon, just geared towards virtuemart.
     /administrator'/components/com_abandoned_cart/helper.php


  • Your avatar
    mahoot    
     4 years ago
    0

    they say:
    • Use coupons in sync with virtuemart.
    • Coupons applied on cart will only be applied to those cart.
    • Any change in cart will remove the coupon from cart.

    can we remove the php codes to disable component abilities to control over coupon?

    this is not nice to use others code and do not mention it....

    now, i can understand why they didn't want you to cooperate with them to solve the problem...

  • Your avatar
    seyi    
     4 years ago
    0

    Ok, I have disabled the code that takes over coupons in Virtuemart.  You can enable the abandoned cart plugin again and see if it works now.
  • Default avatar
    mile2    
     4 years ago
    0

    Hi,

    Can you send me this file so i can test it too?

  • Your avatar
    mahoot    
     4 years ago  last edited 4 years ago
    0

    seyi @ Jun 5, 2017, 5:34:57 PM
    Ok, I have disabled the code that takes over coupons in Virtuemart.  You can enable the abandoned cart plugin again and see if it works now.

    its working Perfectly.

    i'm so embarrassed that you had to fix their mistake....

    thank you seyi, you showed us a Brand costumer care which has a real care for its customers....


    thank you again...


    mile2 @ Jun 5, 2017, 5:46:24 PM

    Hi,

    Can you send me this file so i can test it too?

    i don't know which file seyi changed, as soon as i figure it out, i will send you the files...
  • Your avatar
    seyi    
     4 years ago
    0

    Great,  glad it is working.

    The only file I changed was this:
    /www/plugins/system/abndcart/abndcart.php

    And the only changes I made was disable the triggers by changing the function names from:

    <?php
        
    public function onAfterDispatch() {
        function plgVmValidateCouponCode($_code,$_billTotal) {
        function plgVmRemoveCoupon($_code,$_force) {
        function plgVmCouponInUse($_code) {
        function plgVmCouponHandler($_code, & $_cartData, & $_cartPrices) {
    ?>


    To this:
    <?php
        
    public function ____DISABLED____onAfterDispatch() {
        function ____DISABLED____plgVmValidateCouponCode($_code,$_billTotal) {
        function ____DISABLED____plgVmRemoveCoupon($_code,$_force) {
        function ____DISABLED____plgVmCouponInUse($_code) {
        function ____DISABLED____plgVmCouponHandler($_code, & $_cartData, & $_cartPrices) {
    ?>