You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
have installed the stripe-cli and have an user to test it download stripe cli
do the login for the stripe with stripe login
connect the cli with the server stripe listen --forward-to http://localhost:5173/api/with-buffer
in a another terminal run a stripe event, the one I use is payment.intent stripe trigger payment_intent.succeeded
you can also test the other method with stripe listen --forward-to http://localhost:5173/api/with-text
Logs
StripeSignatureVerificationError: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
Describe the bug
To validate a request from stripe, I have to provide them the rawBody of the request, but every try throws an error.
I have tried other solutions that I read in other issues that worked for some users but I couldn't make it work
Solution with text: #3384 (comment)
Solution with buffer: #3384 (comment)
I think we have the same error #10339
Reproduction
pnpm dev
this sveltekit app repohave installed the stripe-cli and have an user to test it download stripe cli
do the login for the stripe with
stripe login
connect the cli with the server
stripe listen --forward-to http://localhost:5173/api/with-buffer
in a another terminal run a stripe event, the one I use is payment.intent
stripe trigger payment_intent.succeeded
you can also test the other method with
stripe listen --forward-to http://localhost:5173/api/with-text
Logs
System Info
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: