#moe-loubani_api

1 messages ¡ Page 1 of 1 (latest)

zinc sentinelBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1319697728502108202

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

runic zealot
dapper badger
#

the problem is that we aren't saving customer ids so we don't really want to (or rather cant) create a session

runic zealot
#

You would need the customer id if you want to use the API and create the session. What you're attempting is not possible

dapper badger
#

how about just setting the default configuration through the API is that possible? (I mean the one that you see when you visit the page above at /settings/billing/portal)

runic zealot
dapper badger
#

for example, if I go to that page now and click activate I get this link: https://billing.stripe.com/p/login/test_3cs29d6Bl9B45l65kk this one works for all customers because it still requires the customer to log in but how can i set the configuration for that customer portal that they now log into

#

because that way i dont need their customer id (the link is the same for all customers) but how can i set the configuration for those customers

runic zealot
dapper badger
#

any way to do that through the API? (set that default config)

runic zealot
#

There is not, you either make the settings in the Dashboard and click on 'activate'. Or, use the API entirely to create the configurations and create a session with the customer id.

dapper badger
#

ahh ok just wanted to double check, thank you again for the quick replies!

runic zealot
#

Sure