Redirect Customer From Checkout Page in Checkout UI Extensions

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

4 Likes

Hey im also trying to redirect after an api call,

Did you find something ?

Hey, Looking for the same solution, please let me know if found any solution.