paypal-nvp-api
Advanced tools
Comparing version 1.2.23 to 1.2.25
{ | ||
"version": "1.2.23", | ||
"version": "1.2.25", | ||
"name": "paypal-nvp-api", | ||
@@ -26,3 +26,3 @@ "description": "Node.js wrapper for the Paypal Name-Value Pair — NVP ", | ||
"dependencies": { | ||
"bellajs": "5.*.*", | ||
"bellajs": "6.*.*", | ||
"promise-wtf": "1.*.*", | ||
@@ -29,0 +29,0 @@ "request": "2.*.*" |
@@ -15,3 +15,3 @@ # paypal-nvp-api | ||
``` | ||
```js | ||
var Paypal = require('paypal-nvp-api'); | ||
@@ -32,3 +32,3 @@ | ||
``` | ||
```js | ||
paypal.request('GetBalance', {}).then((result) => { | ||
@@ -43,3 +43,3 @@ console.log(result); | ||
``` | ||
```js | ||
{ | ||
@@ -58,4 +58,3 @@ L_AMT0: '71084.27', | ||
``` | ||
```js | ||
let query = { | ||
@@ -78,3 +77,3 @@ 'PAYMENTREQUEST_0_AMT': '20.00', | ||
``` | ||
```js | ||
{ | ||
@@ -112,3 +111,3 @@ TOKEN: 'EC-5Y171147E8077933D', | ||
``` | ||
```js | ||
paypal.formatCurrency(123456); // = '123,456.00' | ||
@@ -115,0 +114,0 @@ paypal.formatCurrency(12345); // = '12,345.00' |
@@ -11,3 +11,3 @@ /** | ||
var version = 124; | ||
var version = 204; | ||
var liveAPIBase = 'https://api-3t.paypal.com/nvp'; | ||
@@ -14,0 +14,0 @@ var sandboxAPIBase = 'https://api-3t.sandbox.paypal.com/nvp'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
111004
15
128
+ Addedbellajs@6.4.51(transitive)
- Removedbellajs@5.4.24(transitive)
Updatedbellajs@6.*.*