#rubber_portal-delete

1 messages ¡ Page 1 of 1 (latest)

regal skyBOT
#

👋 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.

raven thicket
#

rubber_portal-delete

craggy cape
#

oh, i found it thank you

#

can i ask you a few more questions about portalConfigurations?

raven thicket
#

sure

craggy cape
#

after i create several of them, how can i see them / edit them in the my stripe dashboard?

raven thicket
#

the Dashboard only shows one config the default one. Everything else is API only

craggy cape
#

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?

raven thicket
craggy cape
#

so, i can only have one configuration in use at a time?

raven thicket
#

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

craggy cape
#

oh, i think i get it now

#

i'll try implementing it tomorrow and will come back here again if needed

#

thank you so much