Ensure updated order total when coupon code applies

Applying the coupon code before updating and persisting object values
ensure that we have a total that take into account any change intended
by the coupon code promotion