put before_payment in payment