#krs_api

1 messages ¡ Page 1 of 1 (latest)

last crystalBOT
#

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

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

hearty flume
midnight python
#

Here are the steps of what happened

  1. Subscription created and it is in active state
  2. An invoice is created but invoice failed on attempt to pay
  3. Invoice status changed to failed and Subscription status chnaged to Overdue
  4. Voided the failed invoice
#

Now I am expecting the subscription to turn active because there is no failed invoice. Since it is not automatically changing, I want to understand what I need to do?

hearty flume
#

That sounds unexpected. Can you provide the Subscription Id?

midnight python
#

I want the subscription to turn active - what actions i should do?

hearty flume
#

Well you voided every Invoice, didn't you? Subscription need one Invoice is paid or uncollectible state to be active

#
  • If the invoice is in a paid or uncollectible state, the subscription state is set to active.
  • If the collection_method is set to charge_automatically on the invoice and Stripe stopped dunning on the invoice because of retry limits, the subscription state is set to canceled , unpaid, or past_due based on your automatic collection settings.
  • If the collection_method is set to send_invoice, and the invoice is past its due date, the state of the subscription is set to past_due.
  • If the invoice is in none of these states, the same steps execute on the next most recent invoice.
midnight python
#

so in this case, what should I do?

hearty flume
#

You would want to have 1 Invoice on uncollectible state

midnight python
#

is it possible to change the voided invoice to uncollectible?

hearty flume
#

No unfortunately

last crystalBOT