#battbot_unexpected

1 messages ¡ Page 1 of 1 (latest)

plush condorBOT
#

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

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

golden phoenix
#

Hi, we need help looking up the webhook request that's sent to us for this occurence

#

we want to confirm what the webhook request content was

trim panther
#

I'm guessing you were looking at the terminal.reader.action_failed event.

#

But at the same time the charge.succeeded event was fired

golden phoenix
#

we currently don't listen to that event

#

because we have both online and terminal transactions

#

our servers handling online payments handles the charge.succeeded event

#

could you tell us what the webhook event actually sent us?

#

we want to confirm whether if in fact the terminal.reader.action_failed event was sent for this

#

since it would seem that a action_succeeded event should've occured as well shouldn't it?

#

because in the end the payment intent was processed successfuly

trim panther
#

terminal.reader.action_failed can be triggered when the reader experiences a network dropout before it receives a success response from the API

golden phoenix
#

could you tell us the body of the event in this case?

trim panther
#

The payment was confirmed successfully but the connection with the Stripe API was lost before the reader got the success message

golden phoenix
#

we already have some logic trying to recover from this case, we specifically look for connection_error failure code, we want to know if it had some other failure code

#

yeah, that's what we needed, thank you