UPDATE: don't pull the session variable out until after the payment has been completed
UPDATE: only send receipt emails if the order has been paid for completely