#jonas - custom checkout domain
1 messages ยท Page 1 of 1 (latest)
Hello! Just starting a thread for you -- I'll review and respond as soon as I can ๐
Server Side Redirects to stripe checkout seem to be a requirement to get the custom domain working.
What makes you say that?
Is there any way to get server side redirects working with axios post requests?
I'm not sure but I don't think so -- POSTs aren't expected to redirect. You might want to use eg a GET instead if you're expecting redirects.
Hi ๐
Thanks for the reply ๐
Maybe I also got it wrong, but here is the documentation: https://stripe.com/docs/payments/checkout/custom-domains#troubleshooting-integration
Oh, how about that. I somehow was unaware of this limitation, I stand corrected.
Looks like you're right and I am wrong
But I think using a GET would still help you here
Ah ok...
I will try that, one sec ๐
Yes unfortunately its not following the redirect automatically....
The docs suggest it should follow automatically, but I'd suggest filing an issue with the developers if that's not working like you expect
https://github.com/axios/axios#request-config
Thanks for your help ๐