Connecting YooKassa to Your Telegram Bot via SubscriptionAdminBotSetting Up Payments for Your Bot

Integrating the payment provider YooKassa through SubscriptionAdminBot allows you to easily accept subscription payments in rubles. Follow this step-by-step guide to set up monetization for your Telegram bot.

1. Registration and Store Creation in YooKassa

Start by registering on the YooKassa platform and creating a store:

  • Sign up and create a store in the YooKassa dashboard.
  • Copy the store ID from the store settings.
  • In the YooKassa dashboard, go to "Integrations" > "API Keys", generate an API key, and copy it.

2. Setting Up Integration in SubscriptionAdminBot

Launch the SubscriptionAdminBot and configure payments:

  • Open the control panel in the "Payment Settings" section.
  • Select the currency (rubles).
  • Click "Add Provider" and choose YooKassa.
  • Paste the store ID and API key copied from YooKassa into the respective fields in SubscriptionAdminBot.
  • Click "Save" to confirm the settings.

3. Configuring Webhooks

To enable automatic subscription updates, set up webhooks:

  • In SubscriptionAdminBot, copy the Notification URL from the payment provider settings.
  • In the YooKassa dashboard, go to "Integrations" > "Webhooks" and add the copied Notification URL.

4. Setting Up Pricing Plans

In SubscriptionAdminBot, configure pricing plans:

  • Go to the "Pricing Plans" section and create or select pricing plans (e.g., monthly subscription).
  • Specify the price in rubles.
  • Save the settings.

5. Testing the Bot

Test the payment process:

  • Open your bot through SubscriptionAdminBot.
  • Select rubles as the currency and click "Subscribe".
  • Make a payment using a Russian bank card or YooMoney wallet.
  • After payment, access to the private channel is granted automatically.

6. Finalizing Setup

After configuring through SubscriptionAdminBot, your bot will accept payments via YooKassa, and subscriptions will update automatically.

✅ Setup complete! Your bot is ready to monetize content.

Video Tutorial on Connecting YooKassa to SubscriptionAdminBotStep-by-step video for a quick start