mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-01-20 03:40:26 +00:00
кнопка назад при ручной проверки статуса платежа на палыче
This commit is contained in:
@@ -1406,9 +1406,19 @@ async def check_pal24_payment_status(
|
||||
f"❌ Платеж не завершен корректно. Обратитесь в {settings.get_support_contact_display()}"
|
||||
)
|
||||
|
||||
from app.localization.texts import get_texts
|
||||
db_user = getattr(callback, 'db_user', None)
|
||||
texts = get_texts(db_user.language if db_user else 'ru') if db_user else get_texts('ru')
|
||||
|
||||
keyboard = types.InlineKeyboardMarkup(inline_keyboard=[
|
||||
[types.InlineKeyboardButton(text=texts.t("CHECK_STATUS_BUTTON", "📊 Проверить статус"), callback_data=f"check_pal24_{local_payment_id}")],
|
||||
[types.InlineKeyboardButton(text=texts.BACK, callback_data="balance_topup")]
|
||||
])
|
||||
|
||||
await callback.answer()
|
||||
await callback.message.answer(
|
||||
await callback.message.edit_text(
|
||||
"\n".join(message_lines),
|
||||
reply_markup=keyboard,
|
||||
disable_web_page_preview=True,
|
||||
)
|
||||
|
||||
|
||||
1917
app/handlers/balance.py.backup
Normal file
1917
app/handlers/balance.py.backup
Normal file
File diff suppressed because it is too large
Load Diff
1917
app/handlers/balance.py.bak
Normal file
1917
app/handlers/balance.py.bak
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user