updated payment flow