#shifa_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ 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/1386955520065404930
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi, is this error being returned on a Stripe event?
Generally that error either means the wrong webhook endpoint secret is being used, or that the webhook integration isn't retrieving the raw request body: https://docs.stripe.com/webhooks/signature#retrieve-the-raw-request-body
If the implementation have any issue, then this should happen for all users. right? But this is happening for one user only
I can't be sure because I don't have a stripe resource to review. If you can share with me the Stripe account ID or an event ID that has a failed webhook delivery, I can have a better look!
Webhook ID: we_1RJBiPLZ23YQI2qYnfpE6fUe
Account id: acct_1Qf8X6LZ23YQI2qY
Webhook looks connected . But, The error showing is 'Last webhook call was 3 months ago. Status : Failure. Reason : No signatures found matching the expected signature for payload'
Previously the error was like this 'Last webhook call was 55 years ago'
Hey! Taking over for my colleague. Let me catch up.
Previously the error was like this 'Last webhook call was 55 years ago'
Where are you seeing this ?
try {
$event = \Stripe\Webhook::constructEvent(
$payload,
$sig_header,
$endpoint_secret
);
} catch ( \UnexpectedValueException $e ) {
// Invalid payload.
Logger::error( 'Webhook error : ' . $e->getMessage() );
...
exit();
} catch ( \Stripe\Exception\SignatureVerificationException $e ) {
// Invalid signature.
Logger::error( 'Webhook error : ' . $e->getMessage() );
...
exit();
}
this is the structure of our code. Here on this resopnse ( $e->getMessage()) we are getting this error message