#mayur_webhooks

1 messages ยท Page 1 of 1 (latest)

wary totemBOT
#

๐Ÿ‘‹ 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.

thorn stream
#

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.

carmine thicket
#

Thank you for your suggestion
So whenever subscription charge with its cycle I will get the proper data in the invoice.paid event ?
Right

thorn stream
#

What do you mean by "proper data" exactly?

carmine thicket
#

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

thorn stream
#

Yes, this should be available in the Invoice object in the payload of the invoice.paid event

carmine thicket
wary totemBOT
grand crown
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

carmine thicket
#

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

grand crown
#

all subscription invoice objects have the subscription ID property in them

carmine thicket
#

Okay
thank you so much