#ahemadabbas-d_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/1379346033695391836
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! Apologies for the delay! I will be with your shortly.
Looking into your query now.
Have you gotten the whole object of price and plan in a invoice.payment_succeeded webhook before?
Yes, before the basil API i used to get the whole object
There was a breaking change made as part of 03-31-basil [0]. price and plan fields are no longer available on Invoice Items and Invoice Line Items. Each of these now have a pricing field instead [1, 2].
[0] https://docs.stripe.com/changelog/basil/2025-03-31/invoice-pricing-configurations
[1] https://docs.stripe.com/api/invoices/object?lang=curl&api-version=2025-02-24.acacia
[2] https://docs.stripe.com/api/invoiceitems/object#invoiceitem_object-pricing
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I used to get metadata of price from the object
So from now i have to call API to retrieve price and get the required details, right?
Also please guide me if there is another way
Yes, you are right.
So there's no other way?
There isn't any other way.
Okay thank you for helping me out.