Autopayments - xRocket [in Admin]
Guide for self-assist activation of autopayments in xRocket.
XROCKET - allows your bot to accept auto payments and credit their amounts to the balance of users in the bot.
● Payment system address: https://t.me/xrocket
AUTO PAYMENTS (accepting payments)
● Identification: Issued Invoice (link).
● Currencies: BNB, TRX, ETH, TON, USDT (plus Coins and Jettons (Tokens) of your choice available in wallet)
● Auto withdrawal: Available - provided NOT FOR EVERYONE.
📆 Paid monthly (the current cost see while paying).
🔧 Setting up activation:🔐Admin | 💸Autopayments
AUTO WITHDRAWAL (payouts)
● Auto withdrawal: Available (paid separately✱)
● Payouts are made within the system itself (the user must have a personal xRocket account).
📆 Paid monthly (the current cost see while paying).
📞 Connection request: via the bot @MegaHubSupportBot section: «🤑 Manage «Auto Withdrawals» in Your Bot».✱At the moment, connecting and paying for Automatic Withdrawals is carried out manually (perhaps in the future this process will be automated).
When we start talking about autopayments in this guide, we assume that you already have a basic knowledge of how to work with the constructor and we do not need to explain to you, for example, how buttons and messages are added to your bot's menu. If, nevertheless, you still need to be explained these basic things, then you way too early attempting to create the autopayment functionality.
❖ Autopayments (accepting payments)
How to organize automatic acceptance of XROCKET payments in your bot.
Required Functions
Functionality of the «🧩Extensions» section: you need macros to show Usercode.
User Macros
To connect, go to your bot:☞ 🔐Admin | 🧩Extensions | 📂Macros
The functionality of the «🧩Extensions» section: if you do not use a variable balance
for accruals, then you will need additional variables.
Add. Variables
To connect, go to your bot:☞ 🔐Admin | 🧩Extensions | 📂Variables
Autopayments setup
1. Checker settings
Using the setup wizard, enter all the requested data.
1.1 Token API of your APPLICATION (App)
To receive a Token:
1.1.1 Go to https://t.me/xrocket, section
• «🤖 Rocket Pay»
• «Create»
1.1.2 Set up all the necessary data
• In the «Change Name» section, enter your name for the application.
1.1.3 In the «API Token» section, copy the token to paste it into the Setup Wizard when setting up the «Checker».
2. Pay the checker
Make payment for the amount shown.
Payment for at least a month. Exchange the required amount in TMH on your @MenuBuilderBot account, based on the number of months of activation.☞ 🔐Admin | 🧩Extensions | 🏦Your Wallets
3. Activate the checker
Turn on the checker to continue the setup.
4. Add Jetton
Allows you to add any Coin or Jetton (Token) from the list of available in wallet.
IMPORTANT: You can add no more than 10 Coins / Jettons (Tokens).
4.1 Specify the Ticker (Symbol) of the Coin or Jetton (Token).
Further settings are made in the same way as it is described for the «Balance XXXX» of the TRON manual.
After entering the above data, you will see the «Balance XXXX» button itself (see below) with the settings of this Coin or Token. All subsequent possible settings will be held in it.
5. Balance in XXXX
It is necessary to set variables - where to accrue funds for each of the available currencies.
For more information on specifying variables for accrual, see the TRON manual.
IMPORTANT: PayID for each of the currencies will be generated after the variable setting is completed and shown in the information message when entering the autopayment settings of this system.
6. Show Total
Enables and disables the display of the total amount on the wallet balance during autopayment.
For more information about showing the total amount, see the TRON manual.
Set up a report group for autopayments
During autopayments, reports with the data of a specific top-up will be sent to the group you specified.
For more information on setting up a report group, see the TRON manual.
How to organize xRocket Autopayments in your bot's menu
How to organize auto payment through xRocket.
If you have already enabled XROCKET automatic payments in your bot, you need to create a way for people (your users) to automatically top-up. What is needed for this:
All you need in the bot is to create a menu with «Invoice» buttons for the number of currencies you want to accept. Follow the link to read the complete Guide to setting up the Invoice button. Below are the main points.
1. Create buttons in the bot to generate Invoices for each currency from those you specified when activating autopayments and planning to accept for payment. To do this, an appropriate number of slots for such buttons will be added to your bot. Each of the currencies you specify will be assigned with its own "PayID".
By default, the number of added «Invoice Buttons» is 7. If you need more, just contact support and ask them to add the missing quantity to you.
2. In order to create buttons for generating invoices, create a regular button and go to its settings and click:
• «Assign Invoice».
• Then follow the instructions of the Setup Wizard.
3. Create buttons for each of the currencies you specified, assigning each with the corresponding PayID issued to you.
The accrual variable is ALREADY associated with the corresponding PayID.
FOR REFERENCE: see how CryptoBot autopayment is organized in our system.
To do this, go to your bot:🔐Admin | 🧩Extensions | 🏦Your Wallets | 💳Top-up
Peculiarities of xRocket
● All deposits and withdrawals in xRocket are made through the "Application" you have created (the one with an API key). Thus, in order to withdraw funds, there must be some funds on the balance of the Application (Replenished earlier by your users or by yourself).
● If you do not have funds on the balance of the xRocket Application, they must be transferred there from the balance of the xRocket Account. You can do this by paying the Invoice YOURSELF through your own bot (if your project does not have enough funds replenished by users)...
● Nothing is known about the minimum amount for withdrawing funds from the Application to a wallet.
● For the replenishment of "Application's" balance, xRocket itself takes 1.5%, on a general basis, as it is for any other user (all other operations - without any fees).
❖ Error messages
For a list of ALL error messages, see the «Autopayments and Withdrawal of funds - general information» guide.
❖ Autowithdrawals (payouts)
Withdrawals (semi-automatic)
If you have Autopayments functionality, you may need a button to withdraw funds. The button allows you to automatically debit funds from the variable you specify where the user’s Balance is stored. The actual transfer of funds to the user’s external wallet is carried out manually by the administrator. The button allows you to partially facilitate the withdrawal process by limiting yourself to solely transfers, as well as maintaining a kind of history (Log) of withdrawals in a separate group where withdrawal requests will be send.
For more information about working with the Withdraw Button, see the manual.
Withdrawal of funds (automatic with admin confirmation)
Automatic withdrawal functionality is available for the XROCKET payment system.
IMPORTANT: Do not try to negotiate the connection of Automatic Withdrawals until you fully understand how the «Withdraw Button» works in semi-automatic mode.
If you have fully understood how the Withdraw Button works - you have at least one such button connected, configured and already working for some time, you can consider the option of activating automatic withdrawals.
Data required for the Auto-Withdrawal function to work
For the XROCKET system:
• No additional actions are required - permission for payouts to the API key was issued initially - earlier when connecting Autopayments.
How to connect withdrawal of funds in automatic mode
1. Go to the bot @MegaHubSupportBot section: «🤑 Manage «Auto Withdrawals» in Your Bot».
2. Read and agree to all Terms (done once).
3. Select the desired system to place an order to activate Automatic Withdrawals.
4. Top up the TMH wallet of your account with the specified amount (payment is done monthly, in manual mode at this time. Payment for the first month is a connection fee and is NOT refundable, even if you change your mind about using Auto Withdrawals).
5. Enter all the data necessary for connection and send a request to activate Automatic Withdrawals.
6. Wait for a response from the Admins about the activation of Automatic Withdrawals (a sign of activation may be the appearance of a PayID list for each of the currencies you specified in the «💸 Autopayments» section for the system you have chosen).
7. After activation, go to the «💸 Autopayments» section.
8. Select the section of the payment system you just activated for Automatic Withdrawals.
9. For each currency you use, in the «Balance XXX» button, indicate the MAXIMUM amount available for automatic withdrawals (payouts).
Indicating the maximum amount available for automatic withdrawals is necessary in order to minimize the possible consequences of errors in accidental or thoughtless confirmation of payouts. Auto-withdrawals are irreversible. That is why, we suggest you withdraw large amounts manually in a semi-automatic mode.
10. In the settings of the «Withdraw Button», the «Set PayID» section will appear - allowing you to associate a specific Withdraw Button with a specific currency. One button works with one currency.
11. After setting, BE SURE to test the operation of the button on a small amount.
12. A reminder about monthly payment will be sent to the @MegaHubSupportBot bot and/or to the head bot @MenuBuilderBot of the project.
IMPORTANT: If your Automatic Withdrawals functionality was disabled for non-payment, reconnection is paid separately from the monthly fee.