#lil-qu4n_webhooks

1 messages ¡ Page 1 of 1 (latest)

lyric pewterBOT
#

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

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

dapper fjord
#

Hi

wooden osprey
#

Hi! Looking into your query.

dapper fjord
#

My side has set up automatic payment for invoices (including finalization process)\

#

I mean is that some invoices during my subscription renewal process have the "auto_advance" = false field, which causes the above invoices to not automatically change status from "draft" to open to stripe payment.

#

I want to find out why when I'm in the subscription renewal process, some invoices return "auto_advance" = true but some invoices return "auto_advance" = false

wooden osprey
#

Can you give me an example of an invoice that returns "auto_advance" = true?

dapper fjord
#

evt_1Qs3y7GOGj3Av1fntwSTHt0x

#

You can check by the Related Event ID, right?

#

@wooden osprey

wooden osprey
#

Still looking into your query.

dapper fjord
#

@wooden osprey Thank you. If there is anything please contact me soon.

wooden osprey
dapper fjord
#

@wooden osprey
Yes, the above subscription was manually deactivated on February 11, 2025,

However, what I want to ask here is why from February 29, 2024, every month when renewing a subscription, an invoice is created with status as draft and auto_advance = false, leading to it not being able to pay itself.

wooden osprey
lyric pewterBOT
dapper fjord
#

I understand that
But there is this
On 30/03 when the subscription renewal deadline is due, normally when the subscription bill of the previous month has been successfully paid, it will be renewed normally this month, however on 30/03, it only creates a draft invoice and does not charge anymore
The part I am confused about is in this part

#

@reef fractal @wooden osprey

reef fractal
#

Hi. I'm taking over from my colleague. Please, give me a moment to catch up.

dapper fjord
#

@reef fractal If there is anything please contact me soon.

reef fractal
#

Still looking...

#

I see that multiple previous Invoices for the same Subscription were also created but not paid. Is it because you were pausing collection?

reef fractal
#

auto_advance seems to be disabled because this Subscription has too many unpaid Invoices. I don't have a better explanation right now.
Do you know why all of those Invoices are not paid?

dapper fjord
#

As I checked in the "invoice.created" event, "auto_advance" = false, which leads to the invoice not being automatically switched to open for charging

#

@reef fractal

#

And the problem here I don't understand is why only this user's invoice has "auto_advance" = false, while the remaining users are normal

lyric pewterBOT
dapper fjord
#

@gleaming wyvern Can you check for me?

gleaming wyvern
#

Can you have some patience please

#

What in_xxx ID am I looking at here?

dapper fjord
#

you can check this

gleaming wyvern
#

Looking!

dapper fjord
#

@gleaming wyvern
As I said above, on February 11, 2025, we canceled the subscription ourselves.

And what I want to ask here is that from March 30, 2024 when the subscription renewal deadline is due, normally when the subscription bill of the previous month has been successfully paid, it will be renewed normally this month, however on March 30, 2024 until we found out on February 11, 2025, it only creates a draft invoice and does not charge anymore

gleaming wyvern
#

in_1Ozq8gGOGj3Av1fnIO0BtL74 is not a draft invoice

dapper fjord
#

What?

#

I found it still dg status is draft both on stripe and in my database

#

Status 1 in my DB meaning draft

gleaming wyvern
#

I don't know why the Dashboard says that. But according to the pause behaviour on the sub at the time it should of been voided

#

If you want to advance it, which I'd be surprised if possible, then finalize it

dapper fjord
#

@gleaming wyvern It seems that I understand this phenomenon as follows

  • This user's subscription is renewed on the 30th of every month
  • However, when renewing in February, the renewal invoice for January will not be paid until March 1 (evt_1OpB6uGOGj3Av1fnCMLG5Miw), leading to the fact that when the subscription renews on February 29, this subscription is considered unpaid (evt_1OoxpZGOGj3Av1fnQXzKxJgy)

I am not sure if this flow is working the way stripe works or not

lyric pewterBOT
gleaming wyvern
#

Do you acknowledge that your integration paused payment collection for sub_1Oe5VsGOGj3Av1fnbVlL3LgS on 2024-03-27 09:45:23 here?

#

in_1Ozq8gGOGj3Av1fnIO0BtL74 was created during that time period, on 2024-03-30 00:51:18, so we didn't collect payment for it as it was paused as per your request

#

That is why auto-advance is disabled and why it remains unpaid

gleaming wyvern
dapper fjord
#

Let me check again about this case