# Functionality

### List of all orders

<figure><img src="/files/9xwPGOXMHM3g0NQsRVCg" alt=""><figcaption></figcaption></figure>

### Get additional payment information

You need to go to the order details and click on the "Update from Alliance API" button.

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

After that, detailed information about the payment status will appear in the window.

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

### Making a return

You need to go to the order details and click the "Partial refund" button.

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

After clicking, a window opens where you can perform a full or partial refund.

#### Часткове повернення

In the opened window, you can select the quantity of goods or the amount for the goods that will be returned.

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

As a result of performing a partial refund, additional information about the refund will be displayed in the order details.

<figure><img src="/files/9PfxELrlcxPAOUoZcR4H" alt=""><figcaption></figcaption></figure>

But when you click on the "Partial refund" button, only the balance in terms of quantity and amount of possible refund will be displayed.

#### Повне поверненя

To make a full refund, click the "Partial refund" button in the order details and in the new window select the maximum quantity or maximum refund amount.

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

As a result of a full refund, the information in the payment details will look like this:

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

After selecting a refund method, you need to click the "Partial refund" button.

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

### Payment page

At checkout, the AlliancePay payment option will appear.

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

Displaying the payment widget

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


---

# 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.merchant.alb.ua/en/payment-widgets-for-cms/prestashop/functionality.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.
