Hi everyone,
I am testing a checkout flow in the sandbox and want to double-check a simple discount total before I send the amount through. The cart is $80.00 and the promotion is 25% off.
Working it out by hand: 25% of $80 is $20.00 (80 x 0.25 = 20), so the amount to collect is $80 - $20 = $60.00. That is the figure I plan to use as the order total in my test request, so the customer pays sixty dollars and the discount line accounts for the other twenty.
I ran the same numbers through the discount calculator here to confirm the arithmetic: https://calcfolks.com/discount-calculator/
Is there a common rounding point I should watch for when the discounted total goes into the payment request, for example rounding each line item first or only rounding the final total? Thanks for any pointers on keeping the test totals consistent.
11-16-2026 10:30 AM