Socket
Socket
Sign inDemoInstall

paypal-ece

Package Overview
Dependencies
21
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.6 to 0.0.7

26

lib/paypal-ec.js

@@ -101,16 +101,16 @@ /*!

*/
// PayPalEC.prototype.get_details = PayPalEC.prototype[ 'getExpressCheckoutDetails' ];
PayPalEC.prototype.get_details = function(params,callback){
console.log('GetExpressCheckoutDetails');
var self = this;
PayPalEC.prototype.get_details = PayPalEC.prototype[ 'getExpressCheckoutDetails' ];
// PayPalEC.prototype.get_details = function(params,callback){
// console.log('GetExpressCheckoutDetails');
// var self = this;
//
// this.nvpreq.execute( 'GetExpressCheckoutDetails', params, function ( err, data ){
// if( !err ){
// data
// }
//
// callback( err, data );
// });
// };
this.nvpreq.execute( 'GetExpressCheckoutDetails', params, function ( err, data ){
if( !err ){
data
}
callback( err, data );
});
}
/**

@@ -117,0 +117,0 @@ * Make a `DoExpressCheckoutPayment` API call to PayPal.

{
"name" : "paypal-ece",
"version" : "0.0.6",
"version" : "0.0.7",
"description" : "An API wrapper for PayPal's Express Checkout with checkoutnow.",

@@ -5,0 +5,0 @@ "keywords" : [ "paypal", "express", "checkout", "payment" ],

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc