mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-02-23 12:53:41 +00:00
Cabinet was calling CryptoBotService.create_invoice() directly without saving CryptoBotPayment to DB. When webhook arrived, payment lookup failed and returned HTTP 400, causing infinite retries. Now cabinet uses PaymentService.create_cryptobot_payment() (same as miniapp) with proper USD conversion via currency_converter. Also return HTTP 200 for unknown invoice_ids to stop retry spam.