Integrating the payment provider Prodamus 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 Obtaining Data in Prodamus
Start by registering on the Prodamus platform and obtaining the necessary data:
- Sign up on the Prodamus platform, after which you will be assigned a subdomain (e.g., test1.payform.ru).
- Go to the "Settings" section in the Prodamus dashboard.
- Find the secret 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 Prodamus.
- Paste the copied secret key and store address (your subdomain, e.g., test1.payform.ru) into the corresponding 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 Prodamus dashboard, go to the "Settings" section and add the copied Notification URL to the "Notification URL" field.
- Add the Successful Payment URL and Failed Payment URL to the corresponding fields in the Prodamus settings.
- Save the settings.
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 choose the Prodamus provider.
- Click "Subscribe" and select payment by bank card.
- Note that payment notifications in test mode may arrive with a delay.
- After successful payment, the bot will send a notification about the subscription renewal, and access to the private channel will be granted automatically.
6. Finalizing Setup
After configuring through SubscriptionAdminBot, your bot will accept payments via Prodamus, and subscriptions will update automatically.
✅ Setup complete! Your bot is ready to monetize content.