Error "Invalid Token, in view=cart task=" on cart after awocoupons installation


  • Default avatar
    ioannis8    
     11 days ago
    0

    Hi, we installed commercial edition and we tried to test coupons but after coupon added on cart page is not loading. On browser back step error appears "Invalid Token, in view=cart task=". Also we tried on localhost and VM coupons are working but after awocoupons installation the same error appears. So we think is something about awovcoupons.
    Joomla! 5.4.2 Stable, VirtueMart 4.6.4 11226, PHP 8.3.28
  • Your avatar
    seyi    
     11 days ago
    0

    Hello,

    Thanks for reporting, it is fixed in the latest version 4.1.0.1, please get latest.
  • Default avatar
    ioannis8    
     11 days ago  last edited 11 days ago
    0

    We have the latest version installed. Also how i can remove the coupon from user cart.
    I have deleted coupons but cart keeps data. I search on the database but i did not found anything.
    I must delete products from cart session to test it better.
    I cannot access cart page because of that, any user i have added coupon has the same problem with this error "Invalid Token, in view=cart task="
  • Your avatar
    seyi    
     11 days ago
    0

    Can you verify you have 4.1.0.1?
  • Default avatar
    ioannis8    
     11 days ago
    0

    Yes check image https://ibb.co/ym6vV7qh
  • Your avatar
    seyi    
     11 days ago
    0

    Ok, that is strange that you are still having the issue.  Can you send me a private message with temp access to have a look?
  • Default avatar
    ioannis8    
     10 days ago
    0

    Ok, i did it. Thanks
  • Your avatar
    seyi    
     8 days ago
    0

    Thanks for the access.

    Just tested your shopping cart with a code I created, and seems to be working when entering the coupon code.  Did not receive any token errors:

    ssQvre3.png
  • Default avatar
    ioannis8    
     8 days ago
    0

    Why users already added coupons cannot access cart page! Is something stored in the database or somewhere else?
  • Your avatar
    seyi    
     7 days ago
    0

    Hello,

    Maybe it is just an issue of clearing cache.  The token should be fixed so if you clear cache or start a new session you should not see the error any more.
  • Default avatar
    ioannis8    
     7 days ago
    0

    I have already clear cache from everywhere but don't work. Where coupons are stored? On database? And where exactly?
  • Your avatar
    seyi    
     7 days ago
    0

    Virtuemart stores the cart data in the table #__virtuemart_carts. 

    Happy to look into the problem if you can provide access and a way to view it.
  • Default avatar
    ioannis8    
     6 days ago
    0

    Ok i delete these records and now coupon worked! Thanks