Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verifyWebhook not working #10

Open
ddm50 opened this issue Jun 1, 2024 · 1 comment
Open

verifyWebhook not working #10

ddm50 opened this issue Jun 1, 2024 · 1 comment

Comments

@ddm50
Copy link

ddm50 commented Jun 1, 2024

i have tried using express.raw() and passing a buffer, no luck. ive tried express.json, doesnt work. any ideas what does?

@Re4GD
Copy link
Owner

Re4GD commented Jun 1, 2024

Currently not actively maintaining the library, so feel free to copy methods and improvise.

Have you tried the example in the readme? I am guessing you are talking about the first parameter rawBody: any for verifyWebhook

https://github.com/Re4GD/node-nowpayments-api?tab=readme-ov-file#verify-a-webhook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants