hapi-paypal
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -79,3 +79,3 @@ "use strict"; | ||
handler: (request, reply, ohandler) => { | ||
paypal.notification.webhookEvent.getAndVerify(request.payload, (error, response) => { | ||
paypal.notification.webhookEvent.verify(request.headers, request.payload, request.payload.id, (error, response) => { | ||
if (error) { | ||
@@ -82,0 +82,0 @@ this.server.log("error", `PayPal Webhook not verified: ${JSON.stringify(request.payload)}`); |
{ | ||
"name": "hapi-paypal", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "A hapi plugin to interface with PayPal Rest API's and webhooks.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21963