#xibo

1 messages · Page 1 of 1 (latest)

plucky sleetBOT
barren abyss
#

hello! what do you mean by nothing happens? have you tried tracing through each line of your code to see how the event is processed?

hidden crown
#

sry for late reply

#

as the code already deployed on staging env

#

i added a lot of log for each function, but none of them is recorded

flint garnet
#

do you have the event ID evt_xxx that was sent to the webhook endpoints?

hidden crown
#

I got pi_xxx

#

but do not have evt_xxx

flint garnet
#

well what is the pi_xxx?

hidden crown
#

pi_3MZVAsHm9lqBSyxX0xEqMk57

flint garnet
#

and which type of event specifically? payment_intent.succeeded ?

hidden crown
#

yup

flint garnet
#

that event evt_3MZVAsHm9lqBSyxX0YLZB5Ny was sent to
https://payment_stg.*****.io/api/payment/stripe/events which returned a 200
and
https://payment.*****.io:8139/api/payment/stripe/events which return a 500 to us(with no response body)

hidden crown
#

https://payment_stg.*****.io/api/payment/stripe/events which returned a 200

#

for this one, it should not be 200

#

as no things happens on this stg env

flint garnet
#

if you don't want to do anything with the event on your side, that's fine and your logic can ignore it, but you always need to return a 200 to us or we assume you are broken and will resend the event/eventually mark the endpoint as disabled

hidden crown
#

so here is mechanism, after i receive an successful event from you, i will update the relative order status to succeeded, but somehow this is not happening on stg env

#

meanwhile, this logic works on live env

flint garnet
#

I can't see how I can help you with this as you're talking about what the code on your own server does

#

all I can help you with is showing what Stripe did and where we sent the webhook events, we have no visibility into what your own code and server does with the events

hidden crown
#

understand

#

https://payment_stg..io/api/payment/stripe/events which returned a 200
and
https://payment.
.io:8139/api/payment/stripe/events which return a 500 to us(with no response body

#

may i know where can i find this?