#sawyer_api
1 messages ¡ Page 1 of 1 (latest)
đ 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/1305897108099829842
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Yeah the issue here is that you're creating the portal on the connected account I'd guess? So your Dashboard settings are irrelevant
yea but i cant find where to activate it for my stripe connect account. And i don't know how to activate it by default. How can i make them relevant?
and no i m trying to use the email from the customer email, and still dont get anything, when i m trying with interface
The error is because you're not passing the configuration parameter when you create the session: https://docs.stripe.com/api/customer_portal/sessions/create?lang=curl#create_portal_session-configuration
Without that parameter, the portal will attempt to use a 'default' config which is configured in the Dashboard (as per the error). If they haven't set that up, then yes it will error. I agree it's confusing
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Your best path forward is to create a portal config on each connected account, and then use that when you create the session: https://docs.stripe.com/api/customer_portal/configurations/create?lang=curl
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ah okay so what i m missing is a config a connected account, and then i will be able to create a customer portal for every customer ?