Add accept flag to do_payment