Heleket, Wata, KassaAI fix

Fix, when the payment is lower, than acceptable sum by merchant
This commit is contained in:
Boris Kovalskii
2025-07-26 17:03:42 +10:00
committed by GitHub
parent 28435d2943
commit 595c312e2b
3 changed files with 21 additions and 21 deletions
+7 -7
View File
@@ -52,7 +52,7 @@ async def process_callback_pay_heleket(callback_query: types.CallbackQuery, stat
await edit_or_send_message(
target_message=callback_query.message,
text="Ошибка: выбранный способ оплаты недоступен.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -119,7 +119,7 @@ async def process_method_selection(callback_query: types.CallbackQuery, state: F
await edit_or_send_message(
target_message=callback_query.message,
text="Ошибка: выбранный способ оплаты недоступен.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -186,7 +186,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext):
await edit_or_send_message(
target_message=message,
text="Ошибка: выбранный способ оплаты недоступен.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -199,7 +199,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext):
await edit_or_send_message(
target_message=message,
text="Минимальная сумма для оплаты криптовалютой — 10 рублей.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -207,7 +207,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext):
await edit_or_send_message(
target_message=message,
text="Некорректная сумма. Введите целое число больше 0.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -244,7 +244,7 @@ async def process_amount_selection(callback_query: types.CallbackQuery, state: F
await edit_or_send_message(
target_message=callback_query.message,
text="Ошибка: выбранный способ оплаты недоступен.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -257,7 +257,7 @@ async def process_amount_selection(callback_query: types.CallbackQuery, state: F
await edit_or_send_message(
target_message=callback_query.message,
text="Некорректная сумма.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
+7 -7
View File
@@ -53,7 +53,7 @@ async def process_callback_pay_kassai(callback_query: types.CallbackQuery, state
await edit_or_send_message(
target_message=callback_query.message,
text="Ошибка: выбранный способ оплаты недоступен.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -120,7 +120,7 @@ async def process_method_selection(callback_query: types.CallbackQuery, state: F
await edit_or_send_message(
target_message=callback_query.message,
text="Ошибка: выбранный способ оплаты недоступен.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -187,7 +187,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext):
await edit_or_send_message(
target_message=message,
text="Ошибка: выбранный способ оплаты недоступен.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -200,7 +200,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext):
await edit_or_send_message(
target_message=message,
text="Минимальная сумма для оплаты через СБП — 10 рублей.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -208,7 +208,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext):
await edit_or_send_message(
target_message=message,
text="Некорректная сумма. Введите целое число больше 0.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -245,7 +245,7 @@ async def process_amount_selection(callback_query: types.CallbackQuery, state: F
await edit_or_send_message(
target_message=callback_query.message,
text="Ошибка: выбранный способ оплаты недоступен.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -258,7 +258,7 @@ async def process_amount_selection(callback_query: types.CallbackQuery, state: F
await edit_or_send_message(
target_message=callback_query.message,
text="Некорректная сумма.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
+7 -7
View File
@@ -50,7 +50,7 @@ async def process_callback_pay_wata(callback_query: types.CallbackQuery, state:
await edit_or_send_message(
target_message=callback_query.message,
text="Ошибка: выбранная касса недоступна.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -106,7 +106,7 @@ async def process_cassa_selection(callback_query: types.CallbackQuery, state: FS
await edit_or_send_message(
target_message=callback_query.message,
text="Ошибка: выбранная касса недоступна.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -165,7 +165,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext):
await edit_or_send_message(
target_message=message,
text="Ошибка: выбранная касса недоступна.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -177,7 +177,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext):
await edit_or_send_message(
target_message=message,
text="Минимальная сумма для оплаты через СБП — 50 рублей.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -185,7 +185,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext):
await edit_or_send_message(
target_message=message,
text="Некорректная сумма. Введите целое число больше 0.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -216,7 +216,7 @@ async def process_amount_selection(callback_query: types.CallbackQuery, state: F
await edit_or_send_message(
target_message=callback_query.message,
text="Ошибка: выбранная касса недоступна.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return
@@ -228,7 +228,7 @@ async def process_amount_selection(callback_query: types.CallbackQuery, state: F
await edit_or_send_message(
target_message=callback_query.message,
text="Некорректная сумма.",
reply_markup=types.InlineKeyboardMarkup(),
reply_markup=InlineKeyboardMarkup(inline_keyboard=[]),
force_text=True,
)
return