express-pay 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/package.json +30 -26
package/README.md
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
Hello Everyone👋,
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
- Not Officially Supported By Paynow
|
|
4
|
+
|
|
5
|
+
I am pleased to introduce you to the Express Pay. This package is a part of "PAYNOW" and aims to simplify the process of implementing EXPRESS CHECKOUT PAYMENTS using ECOCASH.
|
|
4
6
|
|
|
5
7
|
|
|
6
8
|
- SETUP
|
|
7
9
|
|
|
8
|
-
To set up the package, you simply need to run "npm i
|
|
10
|
+
To set up the package, you simply need to run "npm i express-pay" and configure your keys from https://www.paynow.co.zw/home/businesshome in the .env file. Then, import the downloaded method into your file. Make sure to enter all required arguments for the function to work correctly and implement it as an asynchronous function.
|
|
9
11
|
|
|
10
12
|
|
|
11
13
|
- USAGE EXAMPLE
|
|
12
14
|
|
|
13
|
-
const pay = require("
|
|
15
|
+
const pay = require("express-pay");
|
|
14
16
|
|
|
15
17
|
REQUIRED ARGUMENTS
|
|
16
18
|
- Payee Contact (String)
|
package/package.json
CHANGED
|
@@ -1,26 +1,30 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "express-pay",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Node Package To Simplify Express Payments Via Ecocash",
|
|
5
|
-
"main": "express_pay.js",
|
|
6
|
-
"bin": "express_pay.js",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
9
|
-
},
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/Luke-Tembani/Express-Pay.git"
|
|
13
|
-
},
|
|
14
|
-
"keywords": [
|
|
15
|
-
"Express",
|
|
16
|
-
"Pay",
|
|
17
|
-
"Ecocash",
|
|
18
|
-
"Zimbabwe"
|
|
19
|
-
],
|
|
20
|
-
"author": "Luke Tembani",
|
|
21
|
-
"license": "ISC",
|
|
22
|
-
"bugs": {
|
|
23
|
-
"url": "https://github.com/Luke-Tembani/Express-Pay/issues"
|
|
24
|
-
},
|
|
25
|
-
"homepage": "https://github.com/Luke-Tembani/Express-Pay#readme"
|
|
26
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "express-pay",
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "Node Package To Simplify Express Payments Via Ecocash",
|
|
5
|
+
"main": "express_pay.js",
|
|
6
|
+
"bin": "express_pay.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/Luke-Tembani/Express-Pay.git"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"Express",
|
|
16
|
+
"Pay",
|
|
17
|
+
"Ecocash",
|
|
18
|
+
"Zimbabwe"
|
|
19
|
+
],
|
|
20
|
+
"author": "Luke Tembani",
|
|
21
|
+
"license": "ISC",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/Luke-Tembani/Express-Pay/issues"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/Luke-Tembani/Express-Pay#readme",
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"dotenv": "^16.0.3",
|
|
28
|
+
"paynow": "^1.0.9"
|
|
29
|
+
}
|
|
30
|
+
}
|