praveen|modifying the create payment flow from invoice validate