#sakgoyal

1 messages · Page 1 of 1 (latest)

foggy starBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

turbid snow
#

my dev environment does not have access to the custom domain so its hard to test the payment flows / billing portal flow when it keeps going to the wrong link

#

Hello! No, custom domains are account-wide, they aren't separate for test and live mode.

#

Can you describe your issue in more detail? What's failing exactly? You shouldn't need to hard-code a domain name in at any point.

winter sluice
#

I am trying to make a button that will take the user to their billing portal to manage their subscription plan. but that button takes them to the custom domain which doesnt have any page on it yet

turbid snow
#

A billing portal you built or the Stripe Customer Portal?

winter sluice
#

the stripe portal

#

the button is just a link that takes you to the stripe hosted customer portal

turbid snow
#

For that you should be generating a Portal Session which will have a URL to redirect them to, and the domain should be handled automatically regardless.

winter sluice
#

I see

#

is there no way to use a static url?

turbid snow
#

No.

#

A static URL would let anyone with that link get to the Portal. How would you handle Customer authentication?

#

Or maybe I'm misunderstanding your question?