[Checkout Add-Ons compatibility] Pass the full order total before deposit to Checkout Add-Ons
I'd like to sell trips at different prices. Every trip can either be paid in full, or with a 30% deposit. All customers should be also able to buy travel insurance at 5.5%, 6.5%, or 8.5% of the price of the whole trip, no matter if they're using deposits or not. To set up travel insurance, I'm using Checkout Add-Ons, that adds the insurance cost as an order percentage.
What happens now is, when using Deposits, the insurance price is calculated based on order total *after* deposit, which is at 30% of the original price. To get this solved, we'd probably need to pass the order "total" total rather than just current total to Checkout AddOns. I'm not sure if it's store anywhere on the order at all - is it?