Draft order: checkout could not be processed because your order total has changed

I’m experiencing an issue with completing draft orders, specifically this error message:

Your checkout could not be processed because your order total has changed.

The deferred payment amount doesn't match the order total. Edit draft order and try again.

Context:. This is happening when trying to complete a draft order, either from the Shopify admin or using the admin API.

Order was created manually from the admin just to exclude any API issues. The market is set to Canada and currency → CAD $, shipping and billing set to CA address as well. A free shipping auto discount and a 1.5% was manually added. Payment terms added as “Due on receipt”.

Same issue occurs if I create the order using the admin API.
I managed to somewhat narrow down the issue to the taxes (handled by Avalara).
If I changed the shipping to a manually entered method, which removed the taxes from the draft and I was able to complete it with no problem.

Although everything looks correct visually and the draft order JSON looks as expected, all calculations match, the order can’t be completed.

Wondering if there’s any solution to this.

Hi @Bogdan_Hiriscau! the fact that removing taxes lets you complete the order points to a timing issue with how Avalara calculates taxes versus when Shopify validates the deferred payment amount.

There’s a similar thread where draft orders with payment terms were failing to complete, and it often came down to mismatches in market settings or currency conversions. A few things to check first:

  1. Are the products in this draft order published to the Canada market? Sometimes if a product isn’t assigned to the customer’s market, it can cause pricing discrepancies during completion.

  2. When you view the draft order in the admin, does the total match exactly what you expect, including the Avalara-calculated taxes?

  3. Have you tried using draftOrderCalculate to see what the calculated totals are right before attempting to complete?

Since this is happening even from the admin UI (not just API), and it’s specifically tied to Avalara taxes + payment terms, this might need a closer look at your specific store setup. The validation for deferred payments is pretty strict about matching totals, and if Avalara’s tax calculation changes between when the draft is created and when it’s completed, that could trigger this error.

If you’ve confirmed the market settings look good and the totals match in the admin, it’d be worth reaching out to support through the Help Center with the draft order ID, shop domain, and the x-request-id from the response headers when you attempt to complete the draft order - they can check the logs to see exactly what’s causing the mismatch. Make sure to mention it works fine without taxes and that you’re using Avalara, that’ll help them narrow it down quickly.