#ahemadabbas-d_webhooks

1 messages ¡ Page 1 of 1 (latest)

cunning laurelBOT
#

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

clever swan
#

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?

nova axle
#

Yes, before the basil API i used to get the whole object

clever swan
#

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

nova axle
#

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

clever swan
#

Yes, you are right.

nova axle
#

So there's no other way?

clever swan
#

There isn't any other way.

nova axle
#

Okay thank you for helping me out.