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

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

1. Registration and Product Creation in LavaTop

Start by registering on the LavaTop platform and creating a digital product:

  • Click "Create" and select "Digital Product".
  • Specify a name, e.g., "Access to [Your Channel Name] Channel".
  • In the description, clarify what the user will receive after payment.
  • In "Additional Settings", create pricing plans: 1 month, 3 months, 6 months, etc.
  • Click "Publish". The product will be sent for moderation.

2. Setting Up Integration in SubscriptionAdminBot

Launch the SubscriptionAdminBot and configure payments:

  • Open the control panel in the "Payment Settings" section.
  • Select a currency (e.g., dollars).
  • Click "Add Provider" and choose LavaTop.
  • Copy the API key from LavaTop (in the "Integration" section) and paste it into SubscriptionAdminBot.

3. Configuring Webhooks

To enable automatic subscription updates, set up webhooks:

  • In SubscriptionAdminBot, copy the Notification URL.
  • In LavaTop, add a webhook in the "Webhooks" section, specifying the event type as "Payment Result".
  • Copy the service key from SubscriptionAdminBot and paste it into the webhook settings in LavaTop.
  • Save the changes.

4. Setting Up Pricing Plans

In SubscriptionAdminBot, configure pricing plans:

  • Go to the "Pricing Plans" section and select the plans created in LavaTop.
  • Specify the price in the chosen currency.
  • Save the settings.

5. Testing the Bot

Test the payment process:

  • Open your bot via SubscriptionAdminBot.
  • Select a currency and click "Subscribe".
  • For testing, use any email, e.g., test@example.com.
  • After payment, access to the private channel is granted automatically.

6. Finalizing Setup

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

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

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