forked from FOSS/AutoShop-Djimbo
refactor: remove Yoomoney payment integration
This commit is contained in:
@@ -43,8 +43,6 @@ async def refill_method_finl() -> InlineKeyboardMarkup:
|
||||
|
||||
if get_payments.status_cryptobot == "True":
|
||||
keyboard.row(ikb("🔷 CryptoBot", data="user_refill_method:Cryptobot"))
|
||||
if get_payments.status_yoomoney == "True":
|
||||
keyboard.row(ikb("🔮 ЮMoney", data="user_refill_method:Yoomoney"))
|
||||
if get_payments.status_stars == "True":
|
||||
keyboard.row(ikb("⭐️ Звёзды", data="user_refill_method:Stars"))
|
||||
|
||||
@@ -54,7 +52,9 @@ async def refill_method_finl() -> InlineKeyboardMarkup:
|
||||
|
||||
|
||||
# Проверка платежа
|
||||
def refill_bill_finl(pay_link: str, pay_receipt: Union[str, int], pay_method: str) -> InlineKeyboardMarkup:
|
||||
def refill_bill_finl(
|
||||
pay_link: str, pay_receipt: Union[str, int], pay_method: str
|
||||
) -> InlineKeyboardMarkup:
|
||||
keyboard = InlineKeyboardBuilder()
|
||||
|
||||
keyboard.row(
|
||||
@@ -74,8 +74,6 @@ async def refill_method_buy_finl() -> InlineKeyboardMarkup:
|
||||
|
||||
if get_payments.status_cryptobot == "True":
|
||||
keyboard.row(ikb("🔷 CryptoBot", data="user_refill_method:Cryptobot"))
|
||||
if get_payments.status_yoomoney == "True":
|
||||
keyboard.row(ikb("🔮 ЮMoney", data="user_refill_method:Yoomoney"))
|
||||
if get_payments.status_stars == "True":
|
||||
keyboard.row(ikb("⭐️ Звёзды", data="user_refill_method:Stars"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user