@topo-js/medusa-plugin-redsys 0.0.0-stage → 1.0.1
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/.medusa/server/src/admin/index.js +436 -0
- package/.medusa/server/src/admin/index.mjs +436 -0
- package/.medusa/server/src/api/hooks/redsys/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/hooks/redsys/middlewares.js +13 -0
- package/.medusa/server/src/api/hooks/redsys/route.d.ts +7 -0
- package/.medusa/server/src/api/hooks/redsys/route.js +16 -0
- package/.medusa/server/src/api/hooks/redsys/validators.d.ts +7 -0
- package/.medusa/server/src/api/hooks/redsys/validators.js +11 -0
- package/.medusa/server/src/api/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/middlewares.js +8 -0
- package/.medusa/server/src/providers/redsys/index.d.ts +3 -0
- package/.medusa/server/src/providers/redsys/index.js +11 -0
- package/.medusa/server/src/providers/redsys/service.d.ts +47 -0
- package/.medusa/server/src/providers/redsys/service.js +170 -0
- package/.medusa/server/src/providers/redsys/types.d.ts +27 -0
- package/.medusa/server/src/providers/redsys/types.js +3 -0
- package/.medusa/server/src/workflows/index.d.ts +2 -0
- package/.medusa/server/src/workflows/index.js +19 -0
- package/.medusa/server/src/workflows/process-redsys-notification.d.ts +8 -0
- package/.medusa/server/src/workflows/process-redsys-notification.js +33 -0
- package/.medusa/server/src/workflows/steps/index.d.ts +2 -0
- package/.medusa/server/src/workflows/steps/index.js +19 -0
- package/.medusa/server/src/workflows/steps/save-redsys-notification.d.ts +8 -0
- package/.medusa/server/src/workflows/steps/save-redsys-notification.js +28 -0
- package/.medusa/server/src/workflows/steps/verify-redsys-notification.d.ts +18 -0
- package/.medusa/server/src/workflows/steps/verify-redsys-notification.js +58 -0
- package/LICENSE +21 -0
- package/README.md +183 -2
- package/package.json +92 -4
package/package.json
CHANGED
|
@@ -1,6 +1,94 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topo-js/medusa-plugin-redsys",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Redsys payment provider for Medusa 2: redirect payments (card, Bizum...) through the Redsys payment page.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "TOPO",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/topo-js/medusa-plugin-redsys.git"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"medusa-v2",
|
|
13
|
+
"medusa-plugin-payment",
|
|
14
|
+
"medusa",
|
|
15
|
+
"medusa-plugin",
|
|
16
|
+
"redsys",
|
|
17
|
+
"tpv",
|
|
18
|
+
"payment"
|
|
19
|
+
],
|
|
20
|
+
"files": [
|
|
21
|
+
".medusa/server",
|
|
22
|
+
"README.md",
|
|
23
|
+
"LICENSE"
|
|
24
|
+
],
|
|
25
|
+
"exports": {
|
|
26
|
+
"./package.json": "./package.json",
|
|
27
|
+
"./workflows": "./.medusa/server/src/workflows/index.js",
|
|
28
|
+
"./.medusa/server/src/modules/*": "./.medusa/server/src/modules/*/index.js",
|
|
29
|
+
"./modules/*": "./.medusa/server/src/modules/*/index.js",
|
|
30
|
+
"./providers/*": "./.medusa/server/src/providers/*/index.js",
|
|
31
|
+
"./*": "./.medusa/server/src/*.js",
|
|
32
|
+
"./admin": {
|
|
33
|
+
"import": "./.medusa/server/src/admin/index.mjs",
|
|
34
|
+
"require": "./.medusa/server/src/admin/index.js",
|
|
35
|
+
"default": "./.medusa/server/src/admin/index.js"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"build": "medusa plugin:build",
|
|
43
|
+
"dev": "medusa plugin:develop",
|
|
44
|
+
"prepublishOnly": "medusa plugin:build",
|
|
45
|
+
"lint": "eslint .",
|
|
46
|
+
"lint:fix": "eslint . --fix",
|
|
47
|
+
"typecheck": "tsc --noEmit",
|
|
48
|
+
"test:unit": "TEST_TYPE=unit NODE_OPTIONS=--experimental-vm-modules jest --silent=false --runInBand --forceExit --passWithNoTests",
|
|
49
|
+
"test:integration:http": "TEST_TYPE=integration:http NODE_OPTIONS=--experimental-vm-modules jest --silent=false --runInBand --forceExit"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@medusajs/admin-sdk": "2.23.0",
|
|
53
|
+
"@medusajs/cli": "2.23.0",
|
|
54
|
+
"@medusajs/framework": "2.23.0",
|
|
55
|
+
"@medusajs/icons": "2.23.0",
|
|
56
|
+
"@medusajs/js-sdk": "2.23.0",
|
|
57
|
+
"@medusajs/medusa": "2.23.0",
|
|
58
|
+
"@medusajs/test-utils": "2.23.0",
|
|
59
|
+
"@medusajs/ui": "4.3.0",
|
|
60
|
+
"@swc/core": "^1.7.28",
|
|
61
|
+
"@swc/jest": "^0.2.36",
|
|
62
|
+
"@tanstack/react-query": "5.107.1",
|
|
63
|
+
"@topo-js/eslint-config": "^1.0.0",
|
|
64
|
+
"@types/jest": "^29.5.13",
|
|
65
|
+
"@types/jsonwebtoken": "^9.0.10",
|
|
66
|
+
"@types/react": "^19.3.0",
|
|
67
|
+
"ajv": "^8.20.0",
|
|
68
|
+
"eslint": "^9.39.4",
|
|
69
|
+
"jest": "^29.7.0",
|
|
70
|
+
"jiti": "^2.7.0",
|
|
71
|
+
"jsonwebtoken": "^9.0.3",
|
|
72
|
+
"prettier": "^3.2.5",
|
|
73
|
+
"react": "^19.3.1",
|
|
74
|
+
"react-dom": "^19.3.1",
|
|
75
|
+
"react-router-dom": "7.18.5",
|
|
76
|
+
"ts-node": "^10.9.2",
|
|
77
|
+
"typescript": "^5.9.3"
|
|
78
|
+
},
|
|
79
|
+
"peerDependencies": {
|
|
80
|
+
"@medusajs/admin-sdk": "^2.23.0",
|
|
81
|
+
"@medusajs/framework": "^2.23.0",
|
|
82
|
+
"@medusajs/medusa": "^2.23.0"
|
|
83
|
+
},
|
|
84
|
+
"engines": {
|
|
85
|
+
"node": ">=20"
|
|
86
|
+
},
|
|
87
|
+
"homepage": "https://github.com/topo-js/medusa-plugin-redsys#readme",
|
|
88
|
+
"bugs": {
|
|
89
|
+
"url": "https://github.com/topo-js/medusa-plugin-redsys/issues"
|
|
90
|
+
},
|
|
91
|
+
"dependencies": {
|
|
92
|
+
"redsys-easy": "^6.0.1"
|
|
93
|
+
}
|
|
94
|
+
}
|