#gecko-Webhook
1 messages · Page 1 of 1 (latest)
evt_1KnccnDeb8L7gMecNHrvHZwx
i think my flow is running fine, and posts the success page, listes to the events, and fulfills my orders...but I'm getting this in the listener errors
not sure if it's because it's just testing to the localhost?
but the ports all seem to flow fine
I don't see any errors associated in this event, the webhook event was delivered and acknowledged succeesfully.
that's what I see too, other than this from the stripe cli
OK, where do you get the error message?
i think it's just because I have a forward-to localhost
instead of the actual webhook URL in the production mode
but it seems to be working...should I worry about this?
Have you tested with production webhook endpoint?
I see, I'd suggest you test it again when the production webhook endpoint is ready. The important thing here is that your endpoint should return 200 responses as soon as it can.
i have it at the end of some code that awaits for DB writes, etc...do I need to move it to the top of the handler, and then handle my fulfillment?
the samples put it after fulfillment, so not sure if there's a timing element I have to consider, that's this sensitive
Hmm, the DB write could takes time and cause problems. Can you do it async so that it doesn't block the webhook handling?
well that's essentially the same thing....
and now that I think about it, I'm getting these errors for each and every event, including the ones that don't block for DB
i'll just try on the production webhook
btw, I can run test payment transactions on a production webhook, right?
yup, you can do that
ok thx much, have a nice night (or day)
sure, feel free to drop by if you need help!