Commit 8e31daf
authored
Recalculate Taxes for coupon and shipping changes in express checkout (#1276)
* reset adjustments and taxes on wallet close
* add changeset
* add discountAdjustments to tax calcs
* remove adjustments on coupon code removal for taxes
* add changeset
* remove dupe changeset
* keep latest order prices
* ref location change
* use refs for adjustments and coupons codes for stale closure fix
* use adjustment refs instead of state for sale closures
* refetch coupon code state on close wallet1 parent b9d4927 commit 8e31daf
6 files changed
Lines changed: 311 additions & 143 deletions
File tree
- .changeset
- packages/react/src
- components/checkout
- payment/checkout-buttons/express
- taxes/utils
- lib/godaddy
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments