node-paytmpg 5.3.2 → 6.4.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/app/controllers/adapters/payu.js +251 -0
- package/app/controllers/np_user.controller.js +88 -79
- package/app/controllers/payment_controller.js +213 -84
- package/app/models/np_multidbplugin.js +111 -101
- package/app/views/init.hbs +85 -80
- package/app/views/layouts/index.hbs +46 -51
- package/app/views/result.hbs +43 -47
- package/example.js +33 -50
- package/index.js +75 -15
- package/lib/config/buildConfig.js +113 -0
- package/lib/config/defaults.js +37 -0
- package/lib/config/validator.js +103 -0
- package/lib/services/database.service.js +153 -0
- package/lib/utils/id-generator.js +30 -0
- package/lib/utils/sanitizer.js +25 -0
- package/package.json +44 -42
- package/public/css/style.css +373 -203
package/package.json
CHANGED
|
@@ -1,42 +1,44 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "node-paytmpg",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Payment Gateway Integration using NodeJS",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"start": "node example.js"
|
|
8
|
-
},
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/shiveshnavin/node_paytm.git"
|
|
12
|
-
},
|
|
13
|
-
"keywords": [
|
|
14
|
-
"nodejs",
|
|
15
|
-
"paytm",
|
|
16
|
-
"payment",
|
|
17
|
-
"gateway",
|
|
18
|
-
"paytm",
|
|
19
|
-
"api",
|
|
20
|
-
"paytm",
|
|
21
|
-
"nodejs"
|
|
22
|
-
],
|
|
23
|
-
"author": "Shivesh Navin",
|
|
24
|
-
"license": "MIT",
|
|
25
|
-
"bugs": {
|
|
26
|
-
"url": "https://github.com/shiveshnavin/node_paytm/issues"
|
|
27
|
-
},
|
|
28
|
-
"homepage": "https://github.com/shiveshnavin/node_paytm#readme",
|
|
29
|
-
"dependencies": {
|
|
30
|
-
"axios": "^1.3.4",
|
|
31
|
-
"body-parser": "^1.18.3",
|
|
32
|
-
"crypto": "^1.0.1",
|
|
33
|
-
"
|
|
34
|
-
"express
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "node-paytmpg",
|
|
3
|
+
"version": "6.4.2",
|
|
4
|
+
"description": "Payment Gateway Integration using NodeJS",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"start": "node example.js"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/shiveshnavin/node_paytm.git"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"nodejs",
|
|
15
|
+
"paytm",
|
|
16
|
+
"payment",
|
|
17
|
+
"gateway",
|
|
18
|
+
"paytm",
|
|
19
|
+
"api",
|
|
20
|
+
"paytm",
|
|
21
|
+
"nodejs"
|
|
22
|
+
],
|
|
23
|
+
"author": "Shivesh Navin",
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/shiveshnavin/node_paytm/issues"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://github.com/shiveshnavin/node_paytm#readme",
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"axios": "^1.3.4",
|
|
31
|
+
"body-parser": "^1.18.3",
|
|
32
|
+
"crypto": "^1.0.1",
|
|
33
|
+
"dotenv": "^17.2.3",
|
|
34
|
+
"express": "^4.16.4",
|
|
35
|
+
"express-handlebars": "^3.0.2",
|
|
36
|
+
"mongoose": "^5.4.16",
|
|
37
|
+
"multi-db-orm": "^3.1.0",
|
|
38
|
+
"nodejs-base64-converter": "^1.0.5",
|
|
39
|
+
"razorpay": "^2.0.6",
|
|
40
|
+
"request": "^2.88.0",
|
|
41
|
+
"sqlite3": "^5.1.7",
|
|
42
|
+
"util": "^0.11.1"
|
|
43
|
+
}
|
|
44
|
+
}
|