#mayur_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/1295658232211046455
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
It's best to use invoice.paid for this. I suggest you to use Test Clocks and create an actual Subscription in Test mode to try out the real-looking webhook events.
Thank you for your suggestion
So whenever subscription charge with its cycle I will get the proper data in the invoice.paid event ?
Right
What do you mean by "proper data" exactly?
whenever webhook call of the success of the payment
at that time I need subscription id and invoice id customer id and payment amount
This information I required
Yes, this should be available in the Invoice object in the payload of the invoice.paid event
in the test event it is showing as below
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
I mean to say in the test event it is not sending any of the subscription id
If it was sending from the test subscription it would be better
all subscription invoice objects have the subscription ID property in them
Okay
thank you so much