Files
zeropost-engine/package.json
T
Ник (Claude) 9baa0f0959 feat: YuKassa payment integration
- services/yukassa.js: createPayment, handleWebhook
  createPayment → создаёт платёж + сохраняет в payment_orders
  handleWebhook → activates plan + charges credits on payment.succeeded
- routes/billing.js: POST /checkout, POST /webhook (публичный)
- DB: payment_orders table
- index.js: /api/billing/webhook публичный (до auth middleware)
2026-06-11 18:44:20 +03:00

30 lines
649 B
JSON

{
"name": "zeropost-engine",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://git.zeroday.su/admin/zeropost-engine.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@a2seven/yoo-checkout": "^1.1.4",
"axios": "^1.16.1",
"bull": "^4.16.5",
"cheerio": "^1.2.0",
"dotenv": "^17.4.2",
"express": "^5.2.1",
"fast-xml-parser": "^4.5.6",
"ioredis": "^5.11.0",
"node-cron": "^4.2.1",
"pg": "^8.21.0",
"sharp": "^0.34.5"
}
}