created the payment flow