#jd-dev_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/1353838067206721538
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- jd-dev_api, 1 hour ago, 5 messages
- jd-dev_api, 3 days ago, 17 messages
- jd-dev_api, 3 days ago, 12 messages
- jd-dev_api, 3 days ago, 15 messages
- jd-dev_api, 5 days ago, 5 messages
- jd-dev_api, 6 days ago, 13 messages
Hi there
It should be triggered when you use invoice.pay and the Invoice is successfully paid
I recommend testing this out if you haven't already
differntiate weather api is used or the invoice is being paid by customer from his email address
Can you clarify which two scenarios you're trying to distinguish between?
see i am creating an invoice and then automatically charging it using invoice.pay api. if the charge fails using invoice.pay api only then i am sending the invoice to the customer's email address and then customer proceeds to pay the invoice. is there a way to differentiate between the two when talking about webhooks?
If the charge fails when you use invoice.pay, you will not receive an invoice.paid webhook
yes i know that
You should receive invoice.payment_failed in that case
what webhook will be triggered when customer pays the invoice himeself?
Oh, I think I see what you mean. You want to differentiate between successful calls to invoice.pay vs. successful payments made via the Hosted Invoice Page?
Hm, no I don't think you can. There's no property on an Invoice that differentiates between these two scenarios