> For the complete documentation index, see [llms.txt](https://docs.merchant.alb.ua/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.merchant.alb.ua/en/payment-widgets-for-cms/joomla-+-virtuemart/functionality.md).

# Functionality

### Order creation process

After the customer has selected the products and gone to the payment page, they need to choose the payment method via "AlliancePay"

<figure><img src="/files/2kuGC34jw1RtZXtwl2fK" alt=""><figcaption></figcaption></figure>

After that, the buyer is redirected to the payment page to enter personal data.

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

### View orders in the admin panel

To view all orders, go to `Components → VirtueMart → Orders`

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

Viewing payment details is done by clicking on the value in the `"Order number/Invoice"` column.

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

### Перевірка статусу замовлення

{% hint style="info" %}
У разі виникнення проблем з статусом замовлення, присутній функціонал ручної перевірки
{% endhint %}

In the payment details there is a section "AlliancePay update transactions and statuses"

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

When you click the "Update" button, the payment status will be checked.

### Making returns

In the payment details, you can find two sections "Partial Refund (Alliance)" and "Full Refund (AlliancePay)"

{% hint style="info" %}
Обов'язково "Статус оплати" плтежу повинен мати "SUCCESS", що вказує на його успішність

![](/files/D5ggssjTcwlEZGo6HMdg)
{% endhint %}

{% tabs %}
{% tab title="Partial refund" %}
To perform a partial refund, in the "Partial refund (Alliance)" section, you need to use the checkboxes to select the products for which the refund will be performed.

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

Thus, the system automatically calculates the amount for the selected products

After that, you need to click the "Return for selected products" button, a window will immediately appear with a message about a successful partial return

<figure><img src="/files/8Mc2LDhJCm8jcGmezL5J" alt=""><figcaption></figcaption></figure>

In the payment details in the "Alliance Transaction History" section, a new payment with the transaction type "REFUND" will appear.

<figure><img src="/files/qgkJS8oqRv1EdZyZymqc" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Full refund" %}
To perform a full refund, click the "Execute Order Refund" button in the "Full Refund (AlliancePay)" section.

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

After that, a new payment with the transaction type "REFUND" will appear in the "Alliance Transaction History" section.

<figure><img src="/files/6vic13ATSZ7jwZZ1zXpH" alt=""><figcaption></figcaption></figure>

And also in the "Items" section, each product will receive the status "Refunded"

<figure><img src="/files/xPLVXVsHSCoPJ8jY8KkE" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.merchant.alb.ua/en/payment-widgets-for-cms/joomla-+-virtuemart/functionality.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
