change payments

This commit is contained in:
Max Shalenkov
2025-07-16 19:49:49 +03:00
parent 52aa6f81e2
commit 9ee2f0addf
6 changed files with 338 additions and 1 deletions
+4
View File
@@ -4,7 +4,11 @@ import bot
from config import TBLOCKER_WEBHOOK_PATH
from .tblocker import tblocker_webhook
from .wata_payment import wata_payment_webhook
WATA_WEBHOOK_PATH = "/wata/webhook"
async def register_web_routes(router: UrlDispatcher) -> None:
router.add_post(TBLOCKER_WEBHOOK_PATH, tblocker_webhook)
router.add_post(WATA_WEBHOOK_PATH, wata_payment_webhook)