c0mrade
9a2aea038a
chore: add uv package manager and ruff linter configuration
...
- Add pyproject.toml with uv and ruff configuration
- Pin Python version to 3.13 via .python-version
- Add Makefile commands: lint, format, fix
- Apply ruff formatting to entire codebase
- Remove unused imports (base64 in yookassa/simple_subscription)
- Update .gitignore for new config files
2026-01-24 17:45:27 +03:00
Egor
67083980a3
Update payment_service.py
2026-01-22 22:38:31 +03:00
gy9vin
7aa64521d2
feat(payments): добавить KassaAI как отдельную платёжную систему
...
Новая платёжка KassaAI (api.fk.life) работает параллельно с Freekassa.
Добавлено:
- app/services/kassa_ai_service.py — API-сервис
- app/database/crud/kassa_ai.py — CRUD-операции
- app/services/payment/kassa_ai.py — KassaAiPaymentMixin
- app/handlers/balance/kassa_ai.py — хендлеры пополнения
Изменено:
- config.py — настройки KASSA_AI_*
- models.py — PaymentMethod.KASSA_AI, модель KassaAiPayment
- payment_service.py — подключён KassaAiPaymentMixin
- webserver/payments.py — webhook /kassa-ai-webhook
- keyboards/inline.py — кнопка KassaAI
- handlers/balance/main.py — регистрация хендлеров
- universal_migration.py — миграция таблицы kassa_ai_payments
- system_settings_service.py — настройки в админке
- .env.example — примеры переменных
Способы оплаты: 44=СБП, 36=Карты РФ, 43=SberPay
2026-01-20 19:09:27 +03:00
Egor
23b64ffb2a
Revert "Revert "Frekassa""
2026-01-06 22:43:01 +03:00
Egor
aeaaa54920
Revert "Frekassa"
2026-01-06 22:40:35 +03:00
Egor
53a10c0640
Add files via upload
2026-01-06 20:56:44 +03:00
Egor
83cb1ec823
Add files via upload
2025-12-25 21:01:11 +03:00
gy9vin
e76f2f3d50
Кнопка конкурсов + прототип налоговой. не трогайте налоговую еще!!!
2025-12-16 00:59:23 +03:00
Egor
6dc525dd72
Handle missing YooKassa payment ids gracefully
2025-11-21 05:26:42 +03:00
Egor
7c31c3616e
Guard Platega finalization against duplicate callbacks
2025-11-07 07:05:22 +03:00
Egor
fba80b1a0d
Integrate Platega balance top-ups
2025-11-07 06:52:57 +03:00
Egor
93c733aac0
Revert "Revert "Improve Pal24 and Heleket verification coverage""
2025-10-26 10:46:38 +03:00
Egor
aacc07835e
Revert "Improve Pal24 and Heleket verification coverage"
2025-10-26 10:45:35 +03:00
Egor
5b59ca3c4f
Display transaction numbers in admin payment list
2025-10-26 10:28:32 +03:00
Egor
b780fe2278
Improve YooKassa webhook recovery
2025-10-26 06:52:18 +03:00
Egor
2f2d9bc1af
Add Heleket payment provider integration
2025-10-21 10:59:19 +03:00
Egor
0c93516056
feat: make MulenPay display name configurable
2025-10-19 01:55:10 +03:00
Egor
56e0ec4cd2
Fix logging import in WATA CRUD module
2025-10-15 01:14:43 +03:00
Egor
89b0544f86
Revert "Revert "Revert "Complete Wata Pay integration"""
2025-10-14 21:17:54 +03:00
Egor
7ed635600e
Revert "Revert "Complete Wata Pay integration""
2025-10-14 19:14:28 +03:00
Egor
5a4f59dfb2
Revert "Complete Wata Pay integration"
2025-10-14 19:13:11 +03:00
Egor
d3dd423042
Complete Wata Pay integration
2025-10-14 16:46:00 +03:00
gy9vin
dec3aefdec
Модульная структура платежки
2025-10-12 16:14:00 +03:00
gy9vin
30645d633e
Исправление уведомления пользователя о поступлении денег на счет
2025-10-12 14:20:54 +03:00
Egor
ac3890598f
Route subscription reminders to miniapp in text mode
2025-10-12 06:40:31 +03:00
Egor
de57db14ea
Delay first-topup flag until after referral processing
2025-10-11 08:25:11 +03:00
Egor
b5c8b4218c
Preserve normalized Stars invoice amounts
2025-10-10 04:48:50 +03:00
Egor
bdaa3b5875
Fix Telegram Stars rounding and formatting
2025-10-09 19:20:44 +03:00
Egor
db5551df23
Add customizable PayPalych payment buttons
2025-09-30 23:42:19 +03:00
Egor
548ec540f2
Fix PayPalych SBP payments
2025-09-28 01:33:38 +03:00
Egor
5f8287f389
Add configurable MulenPay payment limits
2025-09-24 21:51:19 +03:00
Egor
f896d59609
Revert "Add promo group auto assignment after top-ups"
2025-09-24 05:49:30 +03:00
Egor
de0b361062
Add auto promo group assignment on top-up
2025-09-24 05:42:49 +03:00
Egor
4225404673
Add PayPalych payment integration
2025-09-24 02:56:51 +03:00
Egor
eb730ecd6e
Add Mulen Pay integration for balance top-ups
2025-09-24 01:14:15 +03:00
Egor
57cc2d2e3a
Fix subscription checkout resume after top-ups
2025-09-19 10:54:16 +03:00
Egor
a0b95cc24c
Update payment_service.py
2025-09-17 15:57:27 +03:00
gy9vin
863dd2423d
adding the SBP method for YooKassa
2025-09-17 10:48:58 +03:00
yazhog
b26fd77190
Add subscription buttons to all payment success messages
2025-09-13 21:20:24 +03:00
Egor
aab68767fd
Update payment_service.py
2025-09-09 07:31:52 +03:00
Egor
da7675a853
Update payment_service.py
2025-09-09 07:14:33 +03:00
Egor
339881f288
Update payment_service.py
2025-09-09 06:27:50 +03:00
yazhog
bb8e513598
feat: display ruble prices without kopecks
2025-09-07 13:13:03 +03:00
Egor
2e1ee6bb28
Update payment_service.py
2025-09-07 03:33:19 +03:00
yazhog
22f5fc43dd
feat(tribute): verify webhook signature
2025-09-06 23:02:57 +03:00
Egor
e2469a14c9
Update payment_service.py
2025-09-06 05:11:58 +03:00
Egor
87845e2691
Update payment_service.py
2025-09-05 22:13:52 +03:00
Egor
f1f409dc63
Update payment_service.py
2025-09-05 18:27:39 +03:00
Egor
c3991162c2
Update payment_service.py
2025-09-03 21:06:48 +03:00
Egor
f13a015bfa
Update payment_service.py
2025-08-31 00:47:07 +03:00