hapi-paypal
Advanced tools
Comparing version 0.0.21 to 0.0.22
@@ -80,3 +80,3 @@ "use strict"; | ||
paypal.notification.webhookEvent.verify(request.headers, request.payload, this.webhook.id, (error, response) => { | ||
if (error) { | ||
if (error || response.verification_status !== "SUCCESS") { | ||
this.server.log("error", `PayPal Webhook not verified: ${JSON.stringify(request.payload)}`); | ||
@@ -83,0 +83,0 @@ } |
{ | ||
"name": "hapi-paypal", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"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
22039