#thebeard_api

1 messages ¡ Page 1 of 1 (latest)

fresh swanBOT
#

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

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

true snow
#

one other way I was thinking was to mark invoice as incollectible and add a negative balance on customers account on subscription deletion webhook. but even then I would want a pro rated amount for 7 days and not full month subscription amount

west meteor
#

Hello! What do you mean by update the Invoice? Update it how?

true snow
#

like the amount due of the invoice should be for 7 days and not full months if i cancel a subscription when it remains unpaid for 7 days

static cedar
#

Do you mean that you will cancel the subscription and only prorate the invoice amount for 7 days at the same time if a customer decides to cancel a subscription today?

true snow
#

we only allow customers to cancel for billing period end so that's not a problem. the problem is when we cancel for unpaid subscriptions 7 days after due date

static cedar
#

Am I right to understand with the scenario like this?

A subscription is created on March 1 and paid for Mar 1 - Apr 1 for the initial cycle. When Apr 1 starts, a new invoice (let's say invoice_A) with full amount is created, but this invoice is not paid and subscription is canceled automatically. When the unpaid subscription is canceled after 7 days automatically, do you mean like you want to this invoice_A amount to be prorated to 7 days (for Apr 1 to 7)?

true snow
#

yes exactly. so next time when customer comes back, so they only owe us for 7 days

static cedar
#

Once an invoice is finalised, the amount can't be changed. It is not possible to update the invoice_A in this scenario to have a proration amount of 7 days.

The only way I can think of is to cancel the existing invoice (invoice_A in this case), then create a new one-time invoice (let's say invoice_B) with prorated amount

true snow
#

ok. that make sense. also I was thinking rather than invoice_B, i just add negative balance to customer account. so whenever they come back its automatically added to their next invoice

static cedar
#

The amount in invoice_A still reflects as the full amount, just that the customer only needs to pay for the prorated amount if balance is used. It might cause confusion to the customer like why the invoice shows full amount, but I only need to pay part of it when attempting to make a payment at Stripe hosted page.