> For the complete documentation index, see [llms.txt](https://lara-script.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lara-script.gitbook.io/docs/admin-panel-functionality/plugins/order-priority-processing.md).

# Order Priority Processing

The plugin is designed to manage the processing priority of requests for specific exchange directions.

Allows:

* speed up the processing of individual directions
* flexibly manage the priority fee
* set an individual payout time
* differentiate system behavior depending on the direction

#### 2. **General (General Settings)**

* **Enabled -** Enables or disables the priority processing plugin.

**Values:**

* `On` — the plugin is active, settings are applied
* `Off` — the plugin is disabled, all requests are processed in standard mode

#### 3. **Direction Priority Settings (Direction Priority Settings)**

This section allows you to set individual priority processing parameters for each exchange direction.

Each entry contains:

**Direction**

The exchange direction to which the priority applies.\
Format:\
`I give → I receive`

Examples:

* `BTC → USDTTRC20`
* `P24UAH → USDTBEP20`

**Fee Type (Fee Type)**

Determines how the fee for priority processing is calculated.

**Options:**

* **Percent** — a fee as a percentage of the request amount

<figure><img src="/files/KZUVpkkjghyb3lwAlCWG" alt=""><figcaption></figcaption></figure>

* **Static (fixed amount)** — a fixed fee amount directly in the "I give" currency

<figure><img src="/files/lLVgR3gh3pbiZf3nw2y4" alt=""><figcaption></figcaption></figure>

**Fee Value (Fee Value)**

The amount of the fee depending on the selected type:

* For **Percent** — multiplier or percentage (for example `0.5` = +0.5%)
* For **Static** — fixed amount (for example 5)

**Payout Time (minutes)**

Expected request processing/payout time in minutes.

Used for:

* speeding up the processing of priority requests
* informing the user about the timeframes

Example:

* `5` — almost instant processing
* `20` — standard acceleration

**Active**

Determines whether the rule is applied.

**Values:**

* `Yes` — the rule is active
* `No` — the rule is disabled

**Max amount to show checkbox (optional)**

An optional parameter that allows limiting the display of the priority processing checkbox on the site by the request amount.

The field specifies **maximum amount**, up to which the priority processing selection checkbox will be shown to the client on the site. Which currency this amount is calculated in is determined by the setting **Max amount currency** (see below).

**Max amount currency**

Determines in the currency of which side of the exchange (Give/Receive) the amount in the field is specified **Max amount to show checkbox**.

**Options:**

* **Give** — the amount from the "Max amount to show checkbox" field is calculated in the currency the client **gives**
* **Receive** — the amount from the "Max amount to show checkbox" field is calculated in the currency the client **receives**

#### 4. **Configuration examples**

**🔹 Example 1**

* **Direction:** `BTC → USDTTRC20`
* **Fee Type:** Percent
* **Fee Value:** `0.5`
* **Payout Time:** `5` minutes
* **Active:** Yes

👉 For requests in this direction, a +0.5% fee for priority processing is applied; payout time is up to 5 minutes.

**🔹 Example 2**

* **Direction:** `P24UAH → USDTBEP20`
* **Fee Type:** Static
* **Fee Value:** `5`
* **Payout Time:** `10` minutes
* **Active:** Yes

👉 A fixed fee of 5 units is charged for priority processing; requests are processed within 10 minutes.

<mark style="background-color:green;">After a client creates a priority request, in the admin panel in the "Requests" section you will see the corresponding information with the fee amount and the set processing time</mark>

<figure><img src="/files/qxKDlssmCJC3DRZCteue" alt="" width="411"><figcaption></figcaption></figure>

#### 💡 Features

* The settings apply only to active (`Active = Yes`) directions
* If there are no settings for a direction — the standard processing logic is used
* The priority fee is added to the main payment amount for the exchange
* Different fee types can be combined for different directions

#### 💡 Recommendations

* Use **Percent**, if request amounts vary greatly
* Use **Static**, if you need a fixed income from priority requests
* For “VIP directions,” set the minimum time (`5-10 minutes`)
* Regularly check the balance between speed and the load on operators/auto-processing.
