The sequence
Worked example
Wallet credits reduce the amount owed but do not reduce the taxable base. Tax is calculated on
subtotal - coupon_discounts, not on subtotal - coupon_discounts - wallet_credits.Coupon chaining
Multiple subscription-level coupons apply sequentially. Each coupon sees the amount remaining after the previous one, not the original subtotal.Line-item vs subscription-level coupons
A subscription-level coupon sees a subtotal that has already been reduced by any line-item coupons.

