WalletOne

If you need to accept international payments, the WalletOne will help you.

How to Configure WalletOne

To connect walletone you will need a store id and a secret key. Shop id can be found in the upper right corner of your account:

!!!!!

In order for the bot to receive payment notifications, it is also necessary to set in the personal account of the Unified Cashier in the section «Settings» in the tab «Integration» to fill in the field: Data for sending the transaction result: https://chatter.salebot.pro/walletone_callback/result and generate a «secret key» as shown in the picture:

!!!!

After generating the secret key, be sure to click «Save» at the bottom of the page. This is a prerequisite for correct operation.

For more information about working conditions, visit https://ww.walletone.com/ .

How To Configure Salebot

How to connect

To connect wallenone you need to go to the section "Payment systems"

!!!!

Next, simply enter the data mentioned above into the form.

!!!!

The connection is finished. Now let’s figure out how to use this functionality.

Indication of amount

To generate a link to payment, you need to set the value of the payment_sum variable, then the walletone_pay_url variable appears. This variable can be displayed with a link or placed on the button with the text "Pay". The link is: https://wl.walletone.com/checkout/checkout/Index?i=355956321993&m=126335067885

Currency indication

Walletone accepts payments in multiple currencies, by default payment is created in rubles. To specify another currency you need to assign a variable currency value. The variable accepts the values: UAH RUB BYN USD TJS KZT EUR PLN ZAR

For example, as in the screenshot below to specify the hryvnia currency, you can set this variable in the project settings.

!!!!

Payment description

You can add a payment description, it will be displayed in the header of the payment form.

!!!!

Description taken from payment_description variable

The description should only be in Latin!

Processing of the result

After successful or unsuccessful payment, the bots will be filled with colbecks, so that you can understand that there was a successful payment. These colbecks in the system you see as messages from the user so that they can not be sent by the user, they consist of a walletone key and a registry with status, For example: 793638786d31756066695a7a7b42673939684e4e74493233444353_success or 793638786d317566665c5a7b42673968684e4e74493233444353_fail. Also, after successful payment, the walletone_payment_completed variable is set to True.

These callbacks CANNOT SEE the user, they are displayed only to the operator

The type of comparison should be "Full match"

To make a repeat payment, you must reset payment_sum, the previously generated link, and after you reset the payment_sum variable to get a new link

After the payment is completed, the walletone_callback_data variable will be added to the client, containing the payment system response data for the completed transaction. You can extract the necessary data from the dictionary using the get method.

Example

An example of a scheme that will allow you to test quickly start working with Walletone.

!!!

The figure shows an example of the first block, in which the user asks how much he wants to pay.

Below the arrow setting, the "User enters data" switch should be enabled and the payment_sum variable entered into the field.

!!!!

Note that the variable #{walletone_pay_url} is inserted under "Configuring attachments".

!!!

Then you can make a fork into two blocks (or create green blocks with conditions). In one hand, in the condition that qxgZ7zkNX4HnG8UpZ61_success is specified, in the second: qxgZ7zkNX4HnG8UpZ61_ - fail fail successful payment.

Type check be sure to put "Full match", otherwise the conditions will work on both callback.

Last updated