Rounding error in order


  • Default avatar
    peter6    
     12 years ago
    0

    I created coupon codes with EUR 39,90. If I enter it in the shopping process I will get the message 'VM_COUPON_GREATER_TOTAL_SETTO', but in the cart there is a discount of EUR 39,90. So it looks fine. But when I get the confirmation email, the amount is EUR 39,89.

    Please help! I cant'f find any solution in the forum.

    I use
    Joomla 1.5.23
    Virtuemart 1.1.9
    AWOCoupon Pro 1.4.1
  • Your avatar
    seyi    
     12 years ago
    0

    Hello,

    A little confused. What is the amount you created the coupon for? Is it for 39.90? If so and your product is worth more, you should not receive the VM_COUPON_GREATER_TOTAL_SETTO message. Im trying to reproduce this problem so any detailed information would be helpful.
  • Default avatar
    peter6    
     12 years ago
    0

    The amount of the gift certificate coupon is 39.90000. Our products cost 39,90.

    So I buy one product which costs 39,90 and I enter my coupon code. Then in the cart there is a discount of -39,90 and I get the VM_COUPON_GREATER_TOTAL_SETTO message.

    When I get the order confirmation email, there is a discount of 39,89.
  • Your avatar
    seyi    
     12 years ago
    0

    What are you taxes and how is it setup within Virtuemart?
  • Default avatar
    peter6    
     12 years ago
    0

    Only 1 Tax configured for germany:

    DEU : 0.19000
  • Your avatar
    seyi    
     12 years ago
    0

    Ok, so I am assuming you have eu mode setup in Virtuemart, is discount before tax checked? Is the product (39.90) with or without tax?
  • Default avatar
    peter6    
     12 years ago
    0

    No EU-Mode! It's based on vendor address.
    Virtual Tax is "on".
    "Subtract payment discount before tax/shipping?" is not checked (off).

    The Price 39,90 is with tax.
  • Your avatar
    seyi    
     12 years ago
    0

    Ok, just to recap:

    - Tax 19%
    - Tax based on vendor address
    - No subtract payment discount before tax/shipping
    - Product price in the backend: 33.53
    - Coupon discount: 39.90

    Using these details I am not able to reproduce the problem.
  • Default avatar
    peter6    
     12 years ago
    0

    The price for the product is 33.52941. Could this be the problem?

  • Your avatar
    seyi    
     12 years ago
    0

    Still could not reproduce it. Im sure there is a rounding issue somewhere, but try changing the price to 33.53, does it make a difference?
  • Default avatar
    peter6    
     12 years ago
    0

    No. Sorry. Unfortunately that does not work, too! Any other idea?

    I noticed one more thing! If I buy a coupon code and I set the order status to confirmed I get send the code via email. In the mail the amount of the Coupon Code is 39.91 EUR. So I think, it is a AWOCoupon problem, not a rounding problem of the virtuemart shop...
  • Your avatar
    seyi    
     12 years ago
    0

    the value of the gift certificate amount should be the exact amount you set within awocoupon->gift certificates. What is the value there for this product?