Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hello Aurelie,
    Are you using the free Simple template? This sounds like it could be a matter of the discount being including tax added or not.
    Is this €1.24 only displayed in the PDF, or is that also displayed in the order confirmation email? The default simple template uses the same totals as the woocommerce emails, so in theory it should be the same.

    Let me know what you find!

    Thread Starter aurelie59

    (@aurelie59)

    Hi,

    Yes i use the free Simple template.
    The 1.24€ only display in the invoice pdf.
    In the order confirmation email, i have 1.49€.
    If you have any idea why?

    Plugin Contributor Ewout

    (@pomegranate)

    Hi Aurelie,
    I really have no idea, because the totals come straight from WooCommerce, unmodified by the PDF plugin! (unless you have modified the totals in the template)
    What if you send the customer invoice email (from the actions on right sidebar in the edit order screen), does that also give you €1,49?

    Plugin Contributor Ewout

    (@pomegranate)

    Hello Aurelie,
    Were you able to sort out this issue?
    If not, can you answer my last question?
    Let me know and I’ll see what I can do for you!

    Ewout

    Thread Starter aurelie59

    (@aurelie59)

    Hi,

    I have the same mistake if i do what you say. 1.24€ instead 1.49€

    I do some test and with an other coupon the reduction was ok.
    The difference between the two coupons :

    For the first coupon who generate me a wrong invoice, i checked in general “apply before tax” and “allow free shipping”

    And for this who works, i don’t checked this options.

    Thread Starter aurelie59

    (@aurelie59)

    So i think, the problem is not with your plugin but with woocommerce. I should not have 1.49€ in the cart shopping but 1.24€ by checking the option before tax.

    Plugin Contributor Ewout

    (@pomegranate)

    Hello Aurelie,
    Actually, if you’re from France, I would advise you to keep the option “apply before tax”. If you don’t do that, the taxes won’t match. Let’s say you have an order of €10 ex. VAT, the totals would look like this with apply before tax:

    Subtotal: €10,00
    Discount 10%: €1,00
    Total: €10,80 (including €1,80 tax 20%)

    that’s correct because €1,80 is 20% of €9 (€10,80 – €1,80)

    Then without apply before tax:

    Subtotal: €10,00
    {+ tax: €2,00 – this won’t show here)
    Discount 10%: €1,20
    Total: €10,80 (including €2,00 tax 20%)

    This is not correct because €2,00 is 23% of €9,80 (€10,80 – €2,00)

    Rereading your initial question, I’m starting to think that the sum in the PDF was correct in the first place, but you made the mistake of trying to subtract the discount from the total including tax, whereas you applied it before tax.

    Either way, I’ll close this topic because it’s indeed a WooCommerce issue and not an issue with the PDF Invoice!

    I hope the above helps you to understand it better though.

    Have a great day!
    Ewout

    Thread Starter aurelie59

    (@aurelie59)

    Thanks for your answer:)

    Thread Starter aurelie59

    (@aurelie59)

    Hi again,

    I do a test and I got something strange.

    I create a coupon with keeping “apply before tax”
    I make a order.

    So I go to woocommerce>order and I generate the invoice, the amounts of coupon, tax and total are OK.

    Then, I go into the order, an I change the status of the order “completed” instead “on hold” and I generate the invoice and now the amount of coupon has changed and he is wrong.

    The invoice is not the same before and after completed the order.

    Have you seen this before?

    Plugin Contributor Ewout

    (@pomegranate)

    That sounds like a bug (note that this PDF Invoice plugin does not change these values, just reads them), I have not seen that behavior before. You should report that to WooThemes!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Display wrong amount coupon’ is closed to new replies.