payment flow implemented