Hi,
I have created a button which hits some API for payment etc, after that i want to redirect a customer from checkout page to another page for next steps and after all done i want to redirect back to checkout page.
I know there are Link component but i want to redirect programatically.
I have tried useNavigate, Redirect etc but not working.
Can anybody help?
Thanks