invoice payment! prerelease
This commit is contained in:
@@ -32,3 +32,15 @@ def payment_link(url: str) -> InlineKeyboardMarkup:
|
||||
return InlineKeyboardBuilder(
|
||||
[[InlineKeyboardButton(text="💸 Оплатить", url=url)]]
|
||||
).as_markup()
|
||||
|
||||
|
||||
def verify_payment(invoice_id: int):
|
||||
return InlineKeyboardBuilder(
|
||||
[
|
||||
[
|
||||
InlineKeyboardButton(
|
||||
text="🟢 Подтвердить", callback_data=f"verify_payment:{invoice_id}"
|
||||
)
|
||||
]
|
||||
]
|
||||
).as_markup()
|
||||
|
||||
Reference in New Issue
Block a user