BuildShipBBuildShip
Powered by
nicopN
BuildShip•2y ago•
3 replies
nicop

Stripe Webhook Signature

I am sending stripe webhooks to a buildship workflow that will update my DB with webhook events. The code continually fails with an error as follows:

Error: Webhook payload must be provided as a string or a Buffer (https://nodejs.org/api/buffer.html) instance representing the raw request body.Payload was provided as a parsed JavaScript object instead. Signature verification is impossible without access to the original signed material. Learn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing

No matter what changes I make to my code to try and send it as raw body, I cannot get it to work in BS. Can anyone look at my code and let me know if there is anything glaringly obvious, or if it simply cannot be done?
message.txt3.92KB
GitHub
GitHub - stripe/stripe-node: Node.js library for the Stripe API.
Node.js library for the Stripe API. . Contribute to stripe/stripe-node development by creating an account on GitHub.
GitHub - stripe/stripe-node: Node.js library for the Stripe API.
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Stripe Webhook Signature
b.sladeBb.slade / ❓・buildship-help
10mo ago
Stripe Trigger Webhook Error
PauPPau / ❓・buildship-help
14mo ago
Stripe webhook testing - 500 error
moritzMmoritz / ❓・buildship-help
2y ago
stripe webhook error to Get the latest request to mapping data
MerkuriaMMerkuria / ❓・buildship-help
8mo ago