• Resolved martijnkoch

    (@martijnkoch)


    Hey,

    I’m working on a website using the WooCommerce API. When I check out an order, the product price is wrong. The regular price for an item in the shop is €29.95, but when I create a new order, the price inside the line_items array is €24.75. So it subtracted 21% for no reason. The tax calculation itself is correct. In the image below, the country is set to Denmark with a 25% tax rate. So the €6.18 tax out of €24.75 is correct.

    Inside Woocommcerce the regular price for the item is set to €29.95.

    Here are my tax settings inside Woocommcerce:

    Also when I do a get request for the item the price is €29.95. I’m wondering how the item price inside the line_items can be different at the checkout.

    Thanks in Advance!
    Cheers,
    Martijn

    • This topic was modified 1 year, 9 months ago by martijnkoch.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Saif

    (@babylon1999)

    Hello @martijnkoch,

    I don’t think there’s anything wrong here as you’re entering prices inclusive of tax. Nonetheless, to be able to replicate the issue, we need the following:

    • The API call you’re using
    • Your system status report, you can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.  Once you’ve done that, paste it here in your response.

    • Could you also upload the JSON response to the something Gist ? You can remove any information you’re not comfortable sharing.


      Look forward to hearing back from you.
    Roxy

    (@roxannestoltz)

    Hi @martijnkoch ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Line items price is incorrect on checkout’ is closed to new replies.