#xibo
1 messages · Page 1 of 1 (latest)
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?
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
do you have the event ID evt_xxx that was sent to the webhook endpoints?
well what is the pi_xxx?
pi_3MZVAsHm9lqBSyxX0xEqMk57
and which type of event specifically? payment_intent.succeeded ?
yup
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)
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
why not? if we send you an event, it is always correct to return a 200
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
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
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
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?