#dws_ju
1 messages · Page 1 of 1 (latest)
hi! it means your own server crashed and returned that error to us when we sent you that event
you need to check the logs of your server and the code of your webhook endpoint to debug what it's doing and why it crashes
ok, thanks for your response, I gonna check my logs
one more question, is there any configuration to set on Stripe? Because if my server crash it must crash for all my requests on products, but it's not the case, I don't have problème for all of them but I use the same code
I don't know of any configuration on our side that would be relevant. First step is for you to get the stack trace of where your server crashes and try to understand that, not productive to speculate on anything Stripe-side before that.
I understand, but has you know, the same code give the same result, I check my logs and I come back to you
const stripeCheckoutObject = await fetchRequest(
`${process.env.SERVICE_API_URL}/order/checkout`,
process.env.API_URI,
request.identity.token,
request.identity.uuid,
{
email: request.identity.email,
acceptedOffer: order,
invoice: invoice.uuid_invoice,
mode: order.mode,
additionalType: request.body.additionalType,
origin: request.headers.origin
}
);
that code doesn't seem related to anything specific to Stripe so I don't have much to say on it