#rubber_portal-delete
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/1278832755433668670
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- rubberduckies_best-practices, 8 hours ago, 65 messages
You can't delete them. You can mark them as inactive using the Update API https://docs.stripe.com/api/customer_portal/configurations/update#update_portal_configuration-active
rubber_portal-delete
oh, i found it thank you
can i ask you a few more questions about portalConfigurations?
sure
after i create several of them, how can i see them / edit them in the my stripe dashboard?
i go here
https://dashboard.stripe.com/test/settings/billing/portal
But i i can't seem to find the different configs
the Dashboard only shows one config the default one. Everything else is API only
ok
{
"id": "bpc_1MrnZsLkdIwHu7ixNiQL1xPM",
"object": "billing_portal.configuration",
"active": true,
"application": null,
"business_profile": {
"headline": null,
"privacy_policy_url": "https://example.com/privacy",
"terms_of_service_url": "https://example.com/terms"
},
"created": 1680290736,
"default_return_url": null,
"features": {
"customer_update": {
"allowed_updates": [
"email",
"tax_id"
],
"enabled": true
},
"invoice_history": {
"enabled": true
},
"payment_method_update": {
"enabled": false
},
"subscription_cancel": {
"cancellation_reason": {
"enabled": false,
"options": [
"too_expensive",
"missing_features",
"switched_service",
"unused",
"other"
]
},
"enabled": false,
"mode": "at_period_end",
"proration_behavior": "none"
},
"subscription_pause": {
"enabled": false
},
"subscription_update": {
"default_allowed_updates": [],
"enabled": false,
"proration_behavior": "none"
}
},
"is_default": false,
"livemode": false,
"login_page": {
"enabled": false,
"url": null
},
"metadata": {},
"updated": 1680290736
}```
shouldn't there be a Url for me to take the customer to?
is it config.login_page.url?
or do i associate a config to each customer, how does that work?
The Configuration API is how you configure the CustomerPortal itself. That Configuration is then used when you create a Session for a given Customer and that one has a URL: https://docs.stripe.com/api/customer_portal/sessions/create
so, i can only have one configuration in use at a time?
no? You can create as many Configurations as you want. And in your code, when you want to send a specific Customer to their CustomerPortal you create a Session and you pick the Configuration you want for that specific Session