modify payment flow