# WalletOne

* [How to Configure WalletOne ](#how-to-configure-walletone)
* [How To Configure Salebot ](#how-to-configure-salebot)
* [Example](#example)

## How to Configure WalletOne&#x20;

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:

!!!!

{% hint style="info" %}
After generating the secret key, be sure to click «Save» at the bottom of the page. This is a prerequisite for correct operation.
{% endhint %}

For more information about working conditions, visit <https://ww.walletone.com/> .&#x20;

## How To Configure Salebot&#x20;

### How to connect&#x20;

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&#x20;

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&#x20>;

#### Currency indication&#x20;

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&#x20;

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

!!!!

#### Payment description&#x20;

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

!!!!

Description taken from payment\_description variable

{% hint style="warning" %}
The description should only be in Latin!
{% endhint %}

#### Processing of the result

{% hint style="info" %}
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
{% endhint %}

{% hint style="danger" %}
The type of comparison should be "Full match"
{% endhint %}

{% hint style="warning" %}
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
{% endhint %}

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&#x20;

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.

&#x20;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.

{% hint style="info" %}
Type check be sure to put "Full match", otherwise the conditions will work on both callback.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mavibot.ai/integrations/payment/walletone.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
