#sahil_api

1 messages ¡ Page 1 of 1 (latest)

wraith falconBOT
#

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

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

shy egret
#

What's the invoice ID?

terse raven
#

give me a sec

#

it is in_1PeT88Loz3M8FCeuwSLT5kTX

shy egret
#

OK, this is the first invoice that a subscription creates, and it's always finalized immediately.

terse raven
#

ok
the billing cycle of that subscirption was set to complete at August 1
I think there wasn't an invoice generated on that day
Is that right?

shy egret
#

Setting a billing cycle anchor doesn't mean that the subscription will be started on that day.

#

If you want to schedule a future subscription, use subscription schedule

terse raven
#

The billing cycle anchor does change the billing cycle schedule right?
That has worked for us for many other subscriptions.

shy egret
#

Can you tell me what you want to achieve?

terse raven
#

I don't want to achieve anything
I am just trying to find why wasn't an invoice generate for the subscription on Augist 1st

shy egret
#

That's because this is the first invoice of the subscription, and it's created when the subscription is created, setting a billing cycle anchor won't defer the creation.

#

If you want the invoice to be created on 1st August, use subscription schedule.

terse raven
#

No I am not expecting that invoice to differ

The subscription's billing cycle end at August 1, that's when it is supposed to generate a new invoice, right?

shy egret
#

Yes you are right

terse raven
#

So was an invoice generated on August 1?
Because our systems didn't receive a webhook for it

shy egret
#

evt_1Pitz0Loz3M8FCeuhNUOYdbw

#

It was delivered to your webhook endpoint sucessfully

terse raven
#

oh okay
Can you please tell me what was the response to this request?

shy egret
#

You can use the link that I shared earlier to view it in your Dashboard

terse raven
#

ok
I don't have access to that at the moment
Hence I asked you

shy egret
#

The response code is 202, and response body is emtpy.

terse raven
#

okay

#

Also, would it be possible for you to share the request body please?

shy egret
#

I believe I've told you that the response body is empty.

terse raven
#

Also, would it be possible for you to share the request body please?v
The request body of the webhook, not the response

shy egret
#

I'm afraid that I can't disclose user's data here, because we can't verify user's identity in discord.

terse raven
#

Sure, I understand. No worries. I'll ask people with access in our org

shy egret
#

Thanks for the understanding

terse raven
#

Thanks for the help