• Resolved chwbk

    (@chwbk)


    Good morning,

    For my store, I have two payment methods:

    • the first is “Invoice payment within 30 days”
    • the second is a payment “Cash on delivery WITH a 6% discount”

    In addition, there are 2 taxes on my store: a tax at 2.6% and another at 8.1%.

    For the total calculation of my order, I need that with the second payment method the 6% discount is taxed. My order calculation is: ((SUBTOTALTAX26 * 1.026) + (SUBTOTALTAX81*1.081)) * 0.94 + SHIPPING …

    BUT, in the checkout and in the order, the taxes do not change when I choose the second payment method. Here is the code for adding my fee :

    $cart->add_fee('Rabais ' . set_rabais_paiement_cash_twint() * 100 . '% pour espèces à la livraison (TVA incluse)', -$discount, true,'standard');

    Here is an example of what my store displays at the moment:

    However, there should be: TVA 2.6: 9.22 / TVA 8.1: 13.02 because of the 6% discount.

    Is it possible to manually set the value of taxes in the cart/order?

    If you have any ideas, I’m interested! Thank you very much ??

    • This topic was modified 10 months, 2 weeks ago by chwbk.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello chwbk

    Thank you for contacting Woo support.

    To help you with this problem, I will need the following information:
    1- Screenshot of the page where you have set up a 6% discount
    2- Screenshots of the page where you have set up 2.6% at 8.1% taxes

    The “TVA” means VAT in the English language.
    Am I correct?

    Please note that if you are accomplishing this by using a custom code, our support policy does not cover custom-coded solutions.

    Looking forward to your response. ??

    Best regards.

    anastas10s

    (@anastas10s)

    Hi ?? We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Taxes don’t change when I add a fee’ is closed to new replies.