#samuele-nextjs-checkout
1 messages · Page 1 of 1 (latest)
Hey, you can't use the fetch API and res.redirect
You should do a client-side redirect if you want to use fetch: window.location.replace(session.url)
oh ok
Or you use <form> with an action handler (like our examples) for server-side redirect
ok thanks
Hope this helps!