#khor_webhooks
1 messages ¡ Page 1 of 1 (latest)
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.
- khor_webhooks, 14 hours ago, 14 messages
đ 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/1247385706519597148
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Stripe doesn't specify which endpoint is sent to in the event body. The path route in your own system should identify itself, i.e. whether this request is sent to URL A or URL B
yesterday i got post another issue here, i create 2 endpoints webhook URL-A, URL-B, with same event payment intent succeeded, in same stripe account
so what i expected during the testing transaction URL-A, i should only receive webhook being trigger in URL-A.
but in fact, transaction URL-A, i received both webhook being triggered.
then yesterday feedback from support here, mentioned the webhook URL doesn't matter.
stripe will send to all register webhook during event trigger, and my side should do filtering
so i want to further ask how to do filtering on my side
Webhook1-https://www.cathaycineplexes.com.sg/ticketing/payment/external-payment-complete-evt2
Webhook2-https://stgvistacrane.cathaycineplexes.com.sg/ticketing/payment/external-payment-complete-evt2
transaction from https://www.cathaycineplexes.com.sg/ will trigger webhook at both endpoints too
transaction from https://stgvistacrane.cathaycineplexes.com.sg/ will trigger webhook at both endpoints too
The payment is processed on the account and has nothing to do webhook endpoint. A Webhook endpoint is meant to receive the updates on your account such as successful and failed payments.
then yesterday feedback from support here, mentioned the webhook URL doesn't matter.
stripe will send to all register webhook during event trigger, and my side should do filtering
Yes. This is the same as what I mentioned earlier.
so i want to further ask how to do filtering on my side
In your own server route, you'd need to identify the URL that has been sent to. Every framework and programming language works differently. I'd suggest searching online how to identify the path that a request is sent to in your framework
Alternatively, you can put a query parameter in your URL, so that you can read it in your system