#akashpatil7596_webhooks

1 messages ¡ Page 1 of 1 (latest)

heady escarpBOT
#

👋 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/1368834883119747102

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

ebon ocean
#

Hi there, is your question about why the first invoice isn't finalized in time?

craggy mural
#

My concern is the draft on 03 and 04 May should also be paid, but why it showing Open?
Open menas it not finalized and money did not deduct yet right?
I want to finalize and pay as soon as invoice.created

ebon ocean
#

Ok, the finalized is delayed because one of your webhook endpoints failed to acknowledge the invoice.created event

craggy mural
#

On both 03 and 04 May?

ebon ocean
#

Same problem. invoice.created events weren't acknowledged.

craggy mural
#

What do you mean by events weren't acknowledged?
All the events on 03 and 04 th May got 200

ebon ocean
#

Take a look at "Webhook attempts"

#

A webhook event is considered acknowledged if all listening endpoints have responded with 200

craggy mural
ebon ocean
#

it requires all listening endpoints to respond with 200.

craggy mural
ebon ocean
#

I don't quite understand what you mean by this.

craggy mural
ebon ocean
#

Yes, it matters, all listening endpoints need to return 200

craggy mural
ebon ocean
#

Yes, and you should ensure the remaining endpoints should return 200

craggy mural
#

Okay, can you add @lean pine to this chat?

ebon ocean
#

Soma isn't available at this moment.

craggy mural
#

ok

#

Hello

#

Server 1 -> webhook_endpoint_1
Server 2 -> webhook_endpoint_2

If there is subscription created and next day invoice.created event being called on Server 1,
Does the same event being called on Server 2 and both should be returned with 200.

Right?

ebon ocean
#

Yes you are right

craggy mural
#

both of server's webhook endpoints are different, still?