got whoel payment flow working