Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hapi-paypal

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-paypal - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

6

lib/index.js

@@ -79,7 +79,7 @@ "use strict";

handler: (request, reply, ohandler) => {
paypal.notification.webhookEvent.getAndVerify(request.payload, (err, response) => {
if (err) {
paypal.notification.webhookEvent.getAndVerify(request.payload, (error, response) => {
if (error) {
this.server.log("error", `PayPal Webhook not verified: ${JSON.stringify(request.payload)}`);
}
ohandler(request, reply, err, response);
ohandler.apply(this, [request, reply, error, response]);
});

@@ -86,0 +86,0 @@ },

{
"name": "hapi-paypal",
"version": "0.0.17",
"version": "0.0.18",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc