daveagill / verify-paddle-webhook Goto Github PK
View Code? Open in Web Editor NEW๐ Keep your Paddle.com webhooks secure by verifying the payload signature with this NPM module.
License: MIT License
๐ Keep your Paddle.com webhooks secure by verifying the payload signature with this NPM module.
License: MIT License
First of all big thanks for abstracting this into a separate package. This is probably unrelated to the library itself, but maybe you will have answer for this. Fighting to verify paddle webhook for some time and no luck. Both with my own implementation and your library I get this error:
Error: error:0909006C:PEM routines:get_name:no start line
at Verify.verify (internal/crypto/sig.js:183:24)
at exports.verifyPaddleWebhook (/Users/d-ivashchuk/projects/twitastic/twitastic-backend/node_modules/verify-paddle-webhook/index.js:43:25)
at /Users/d-ivashchuk/projects/twitastic/twitastic-backend/src/index.js:25:3
at Layer.handle [as handle_request] (/Users/d-ivashchuk/projects/twitastic/twitastic-backend/node_modules/express/lib/router/layer.js:95:5)
at next (/Users/d-ivashchuk/projects/twitastic/twitastic-backend/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/Users/d-ivashchuk/projects/twitastic/twitastic-backend/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/Users/d-ivashchuk/projects/twitastic/twitastic-backend/node_modules/express/lib/router/layer.js:95:5)
at /Users/d-ivashchuk/projects/twitastic/twitastic-backend/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/Users/d-ivashchuk/projects/twitastic/twitastic-backend/node_modules/express/lib/router/index.js:335:12)
at next (/Users/d-ivashchuk/projects/twitastic/twitastic-backend/node_modules/express/lib/router/index.js:275:10)
at /Users/d-ivashchuk/projects/twitastic/twitastic-backend/node_modules/body-parser/lib/read.js:130:5
at invokeCallback (/Users/d-ivashchuk/projects/twitastic/twitastic-backend/node_modules/raw-body/index.js:224:16)
at done (/Users/d-ivashchuk/projects/twitastic/twitastic-backend/node_modules/raw-body/index.js:213:7)
at IncomingMessage.onEnd (/Users/d-ivashchuk/projects/twitastic/twitastic-backend/node_modules/raw-body/index.js:273:7)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1221:12) {
library: 'PEM routines',
function: 'get_name',
reason: 'no start line',
code: 'ERR_OSSL_PEM_NO_START_LINE'
}
I would very much appreciate any directions or help, as I am really stuck with this ๐ฌ Thanks a lot!
Hello,
Thanks for providing this package! Is there any chance we can provide TypeScript types?
Best,
When my webhook post in my adonis js app with ip and coupon value null, that time validator can not verify my webhook. Why paddle send null ip and coupon? and why validator can't validate webhook.
Thanks for making this package, it has made our life much easier, if there is anything we can contribute with please tell me.
Thanks again
Looks like some stuff has been deprecated in node. This error shows up:
{
"code": "ERR_OSSL_UNSUPPORTED",
"library": "DECODER routines",
"reason": "unsupported",
}
Not very important, but maybe you've a quick idea how to solve it? Webcrypto?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.