The flow that works is to detect the $1000 threshold BEFORE checkout completes, provide a 10% discount, and let Shopify adjust the subtotal to be correct. You do not adjust things AFTER checkout.
The flow that works is to detect the $1000 threshold BEFORE checkout completes, provide a 10% discount, and let Shopify adjust the subtotal to be correct. You do not adjust things AFTER checkout.