Skip to main content

Autopayments - Perfect Money

PERFECT MONEY - allows your bot to accept autopayments and credit their amounts to the balance of users in the bot.
● Payment system address: https://perfectmoney.com/
● Identification: Comment (Usercode or ID).
● Currencies: USD, EUR (these are all currencies existing in the system)
● Auto withdrawal: NOT available.
📆 Paid monthly (see the current cost when ordering an activation).
📞 Order activation: @MegaHubSupportBot (💸 Activate «Autopayments» in Bot)

IMPORTANT: For some reason, it is IMPOSSIBLE to set up any rights in the Perfect Money system, therefore, even to organize the receipt of payments, you have to provide a full access to your wallet.

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


How to organize automatic acceptance of PERFECT MONEY 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

Guide to Variables.


What you need to prepare for activation

While activating, you will have to fill out a form and provide all the data necessary for the operation of Autopayments.

What information will you need to send us to activate:

1. Bot address

Bot where you activate. Just send us @ address.

2. ID of your Perfect Money account

Number (Address) of your Perfect Money account to check deposits (Uxxxxxxx for USD and Exxxxxxx for EUR).

3. The name of the variable(s).

Where to charge funds from auto top-ups.
● If you have only one currency in your bot, then "balance" is usually used.
● If there are multiple currencies, then there may be an individual variable for each currency.
Currencies available at the moment:
USD, EUR
In one message, specify all the necessary variables with the appropriate currency abbreviation.

If you do not have variables, you need to ADD them to the bot and CREATE - how to do this is described above.
The number of variables you have in the bot should correspond to the number of currencies you plan to accept on different balances in the bot.

In this message, you can specify everything you need from the list of Additional Autopayment Features.

Message example :
balance_usd - USD
balance_eur - EUR
topup_total - USD, EUR - convert to USD

ONCE AGAIN: the variables you specify in this message MUST EXIST IN YOUR BOT - you can't just take variable names from you head or copy their names from here and assume that everything will work just because you sent them in the message... We didn’t think that such obvious things needed to be explained, but it turns out that not everyone understands this.

4. Perfect Money account password

IMPORTANT: Let's repeat... For some reason, it is IMPOSSIBLE to set up any rights in the Perfect Money system, therefore, even to organize the receipt of payments, you have to provide a full access to your wallet.

5. Payment: at least a month

Exchange the required amount in TMH on your @MenuBuilderBot account based on the number of months of activation (see the current cost when ordering an activation).
☞ 🔐Admin | 🧩Extensions | 🏦Your Wallets

AFTER EVERYTHING IS READY AND PAID

6. Enter the IP in settings

To add go in your Perfect Money account:
Settings > Security Parameters

The IP of our server will be provided after you send all of the above.

To ensure the security of payments, Payeer provides access to data only from authorized IP addresses. By adding the IP of our server, you let Payeer know that you allow checking the balance on your wallet from this server.

When all the necessary data is prepared, you can proceed to order activation:
📞 Order activation: @MegaHubSupportBot (💸 Activate «Autopayments» in Bot)
Fill out the order form, send the data and wait for the admins' response.

How to organize Perfect Money Autopayments in your bot's menu

How to arrange autopayment through Perfect Money.

If you have already enabled PERFECT MONEY automatic payments in your bot, you need to create a way for people (your users) to automatically top-up. What is needed for this:

Almost all you need in a bot is one button with a message. Name the button whatever you want, for example, “Top-up Balance”, and in the message, provide the user with the following data.

1. Tell users your Perfect Money wallet address (usually starts with Uxxxxxxx for USD and Exxxxxxx for EUR). They will have to make a transfer to this address.

2. Show your users their individual UserCode in your bot. Use a macro %usercode% in your message.

If the UserCode macros don't work, then you need to enable it. To do this, go to your bot:

User Macros
🔐Admin | 🧩Extensions | 📁Macros

3. Explain to users that they need to make a payment to your Perfect Money wallet and enter their own UserCode in the comment, so that their payment can be automatically identified.

IMPORTANT: A comment MUST NOT contain anything other than the Usercode itself.
No postscripts like: "My code", "Top up" and anything alike.

Message example:

"To top-up, make a transfer to our wallet: Uxxxxxxxxx
In the comment, enter your UserCode: %usercode%
In the comment, there should be nothing but the code!"

FOR REFERENCE: see how Perfect Money autopayment is organized in our system.
To do this, go to your bot:
🔐Admin | 🧩Extensions | 🏦Your Wallets | 💳Top-up


❖ Error messages

For a list of ALL error messages, see the «Autopayments and Withdrawal of funds - general information» guide.

 

❖ Additional Information


Withdrawals (semi-automatic)

If you have the functionality of automatic payment acceptance, you may need a button to make a Withdrawal of Funds.

For more information about working with the Withdraw Button, see the manual.