#BillyTheKid-customer-portal

1 messages · Page 1 of 1 (latest)

proud pilot
#

Hello! Give me a minute and I can take a look

#

How are you calling the endpoint that is redirecting the the billing portal session?

languid sable
#

I've tried two ways, using fetch and axios. Both have similar errors. Here's a Stackoverflow question with all the relevant code, if that helps! Thanks

proud pilot
#

Instead of using fetch can you change your code to do a real form submit instead? It's been a while since I've seen this, but I remember CORS being a common issues with fetch + server-side res.redirect

languid sable
#

I could try that. Thanks for the input. I guess this is less of a Stripe issue and more a general CORS issue. If possible sometime, a redirectToPortal method like the existing redirectToCheckout method would be great!