Оплата CryptoBot(-ом) сам искал эту дичь, так что можете бесплатно внедрить оплату криптоботом у себя в проектах Примеры Код: import asyncio from aiogram import Bot, Dispatcher from aiogram.types import Message from aiosend import CryptoPay from aiosend.client import TESTNET from aiosend.types import Invoice cp = CryptoPay('токен_криптопэй', api_server=TESTNET) bot = Bot("токенбота") dp = Dispatcher() @dp.message() async def get_invoice(message: Message) -> None: invoice = await cp.create_invoice(1, "USDT") await message.answer(f"pay: {invoice.bot_invoice_url}") invoice.await_payment(message=message) @cp.polling_handler() async def handle_payment( invoice: Invoice, message: Message, ) -> None: await message.answer( f"payment received: {invoice.amount} {invoice.asset}", ) async def main() -> None: await asyncio.gather( dp.start_polling(bot), cp.start_polling(), ) if __name__ == "__main__": asyncio.run(main()) Python import asyncio from aiogram import Bot, Dispatcher from aiogram.types import Message from aiosend import CryptoPay from aiosend.client import TESTNET from aiosend.types import Invoice cp = CryptoPay('токен_криптопэй', api_server=TESTNET) bot = Bot("токенбота") dp = Dispatcher() @dp.message() async def get_invoice(message: Message) -> None: invoice = await cp.create_invoice(1, "USDT") await message.answer(f"pay: {invoice.bot_invoice_url}") invoice.await_payment(message=message) @cp.polling_handler() async def handle_payment( invoice: Invoice, message: Message, ) -> None: await message.answer( f"payment received: {invoice.amount} {invoice.asset}", ) async def main() -> None: await asyncio.gather( dp.start_polling(bot), cp.start_polling(), ) if __name__ == "__main__": asyncio.run(main()) подробная документация: https://aiosend.readthedocs.io/en/latest/integration_examples/index.html
timurlovepizza, открываем глаза и видим вот это https://github.com/vovchic17/aiosend/blob/main/README.md твоя тема - просто паста бесполезная, ты сделал ровно ничего
timurlovepizza, напиши у себя на лбу, вдруг кто то искал гит, форум и все равно не нашел, а так на твоем лбу увидит
Ну хз, чувак просто взял рандомную либу из 1.7к результатов, скопировал первую страницу доки и такой "а где мол спасибо"