paypal-ece
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -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" ], |
17811
330