corrected charge_order to support new referral and coupon models