commit checkout and newpayment