#andrew-samir_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1250418643683115009
đ Have more to share? Add details, code, screenshots, videos, etc. below.
hi there!
Unfortunately not
Although the field is expandable, you can't configure fields tro be automatically expanded in webhook events
So you'll need to look it up directly via the API
Ummmm okay
another question please .. if i listen to customer.subscription.created event ... the subscription can be accessed by data.object.plan directly?
because i am confuced about it and data.object.items.data.plan
the customer.subscription.created will contain a Subscription object in the payload.
are you trying to get the price used for the Subscription?
no i want to get the subscription plan info
what is '"plan info"? it's price? something else?
name, price (Amount) , product_id , price_id