#abdhesh-rajput_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ 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/1225057664329842760
đ 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.
- abdhesh-rajput_api, 1 day ago, 34 messages
- abdhesh-rajput_api, 1 day ago, 10 messages
- abdhesh-rajput_api, 1 day ago, 13 messages
Hi, let me help you with this.
By "subscription pricing deduction" you mean subscription renewal? I.e. be notified when a new billing cycle started?
there is monthly billing in subscription
i want that whenever subscription cut the bill.
or whenever amount get paid from customer account
i need to maintain billing history for that
that i need to maintain billing
Is what I said correct?
In any case, you're probably looking for invoice.paid webhook event.
If the payment failed you will get invoice.payment_failed.
in payment_failed do i get reasone of failure ???
there are two items in invoice how can track that ???
Yes
You will get the items in the Invoice object.
like suppose first invoice is created for platformamount after
is there any way for tracking which invoice is for what
Sorry, I don't understand.
for new billing new invoice is created right
A new Invoice object is created for each billing cycle, yes.
okay.
like if add two invoices items
then in inoivce object which one is occur first
suppose there is two item
item1
item2
I don't think order is guaranteed in this case.
is there any way of tracking ???
Or tracking what exactly?
any way of getting previoues 2 invoices item
You can list all Invoices for a given Subscription: https://docs.stripe.com/api/invoices/list#list_invoices-subscription