#rian_api

1 messages ¡ Page 1 of 1 (latest)

cunning vaultBOT
#

👋 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/1359989993870856543

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

digital magnet
#

when I try to downgrade without a subscription schedule it occurs immediately

raven briar
#

Hello, thanks for the info, I think the portal can create schedules but may not be able to updating a pre-existing schedule. when you try this with a subscription without a schedule do you get this error as well?

digital magnet
#

customer: cus_NPekGzuMzZo6vr

#

or it mightve been this event actually: evt_1RCR0OFqArqfkwbM4I6P07iD

#

after i saved the downgrade settings

cunning vaultBOT
lethal mango
#

Hi there - I'll be taking over for my colleague Pompey

digital magnet
#

if i remove the subscription schedule

lethal mango
#

from the portal?

digital magnet
#

yes, through the portal session with the customer portal api

#

this is my billing configuration

{
  "id": "bpc_1QwXO8FqArqfkwbMD3pNaujd",
  "object": "billing_portal.configuration",
  "active": true,
  "application": null,
  "business_profile": {
    "headline": "Premium Super Remove Addons",
    "privacy_policy_url": null,
    "terms_of_service_url": null
  },
  "created": 1740525488,
  "default_return_url": null,
  "features": {
    "customer_update": {
      "allowed_updates": [
        "address",
        "shipping",
        "phone",
        "email"
      ],
      "enabled": true
    },
    "invoice_history": {
      "enabled": true
    },
    "payment_method_update": {
      "enabled": true
    },
    "subscription_cancel": {
      "cancellation_reason": {
        "enabled": false,
        "options": [
          "too_expensive",
          "missing_features",
          "switched_service",
          "unused",
          "other"
        ]
      },
      "enabled": true,
      "mode": "at_period_end",
      "proration_behavior": "none"
    },
    "subscription_pause": {
      "enabled": false
    },
    "subscription_update": {
      "default_allowed_updates": [
        "price"
      ],
      "enabled": true,
      "proration_behavior": "none",
      "schedule_at_period_end": {
        "conditions": []
      }
    }
  },
  "is_default": false,
  "livemode": true,
  "login_page": {
    "enabled": false,
    "url": null
  },
  "metadata": {},
  "updated": 1740525488
}
lethal mango
#

Looking further

digital magnet
# digital magnet

yeah my settings right now look like this, since we want to prorate immediately on upgrade but wait until end of billing cycle on downgrade, i will try to update my billing portal configuration to include the decreasing item amount

digital magnet