ATTENTION!
Due to Telegram Policy the only payment method allowed is payment via Telegram Stars.
If you decide to use the Crypto payment method, we assume no responsibility if anything goes wrong.
To configure the payment with crypto you must first start the bot with which the transactions will be managed. Let's then launch the @CryptoTestnetBot test bot:

We press the โCrypto Payโ button to begin the payment configuration:

And then we press on โCreate Appโ:

Finally we press on โWebhooksโ and then on โEnable Webhookโ:
At this point we will be asked to send the server URL:

Then we send the Modular server URL https://cryptobot.modularbot.me/webhook

If the operation was successful you should find the URL in the bot's message.
Let's go back and verify that the โWebhookโ option is ON:

We then press the โAPI Tokenโ button:
The code in blue is your secret token for Crypto payments, keep it aside.
Never send your Crypto token to anyone else!
This token will be inserted in the appropriate space of the Modular-Shop management system.
So let's go to our bot in the shop section:

We press on โManage shopโ which will redirect us to our shop management system:
Press the โSettingsโ button at the top right to get to the payment methods configuration page.
We select โCryptoโ, insert the Test Crypto Token that we saved a few steps back and press โConfirmโ:
If the operation was successful, a check โ๏ธ will appear on the chosen payment method.
Let's now load some fictitious Cryptocurrencies into our Test wallet to try a payment with Crypto.
Let's first go back to the @CryptoTestnetBot home menu and press on
โWalletโ -> โDepositโ -> โTether - USDTโ:
Finally we press on โTRONโ -> โGet USDTโ:
At this point, 25 USDT will be loaded into our test wallet that can be used for test payments:

We can now try a payment! Letโs open our shop by pressing on โTry the shopโ, add a product to the cart and confirm:
At this point we will be redirected to the Crypto test bot, where we are asked what to pay with; we select the Cryptocurrency added previously and press on โPay Nowโ:
Once paid, the Crypto bot will confirm the payment while our bot will send us the reward for the product just purchased!

We have just seen how to configure Crypto payment in Test mode, we now need to also configure Real mode to allow customers to purchase our products.
To do this, simply follow the same procedure just described, but configuring the bot for real Crypto payments: @CryptoBot.
Finally, once all the steps have been carried out also for @CryptoBot, it is recommended to rename your payment "App", i.e. the name that users will see at the time of purchase, as follows:
After pressing โCrypto Payโ -> โMy Appsโ -> โEdit Nameโ, send the name of your shop.