#kevinx-checkout-redirect
1 messages · Page 1 of 1 (latest)
I'm testing with a localhost and assume the domain difference caused the redirect URL from API to fail?
res.redirect(303, session.url); <--- is this the issue?
@mossy canyon the problem usually happens when you redirect server-side like in your picture but your client-side code did a "fetch"
kevinx-checkout-redirect
it's the same
you need to do a full page submit, not a fetch/get/post
if you do a post, you need to return the url back and redirect client-side in Javascript instead
Thanks, by full page submit, you mean using Form action with button type submit?
instead of button click API call?
you need a full page submission like a form submission
it's not really about the button per se, but yes
Thank you very much