> For the complete documentation index, see [llms.txt](https://edentech.gitbook.io/glover/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edentech.gitbook.io/glover/extensions-1/paytrail.md).

# Paytrail

![](/files/49sesPvFjq3pl87BHRUk)

Designed for Businesses. Get all the necessary payment methods you need to grow your business in Finland.

## HOW TO INSTALL

Here are the steps needed to have **Paytrail** installed on your server.

1. Buy/Download the extension from <https://setup.edentech.online>
2. Go to extensions menu on your backend
3. Click on **Install** button, and import the **Paytrail** zipped file that you downloaded
4. After installation

### Install the require package

Login to your cpanel or the server manager software you have, go to terminal and run the command below:

```
composer require paytrail/e2-module
```

#### NOTE:

After installing the **Paytrail** extension on your server, you have to configure the **Paytrail** gateway.

You will need to copy and paste your **merchant ID** and **merchant secret** from your **Paytrail** account and insert it into the provided input in your **Paytrail** gateway settings in your backend.

![](/files/FMses8ges2KW119zzzUv)

## TEST PAYMENT

**Paytrail Payment Service** is testable using merchant ID **`13466`** and merchant secret **`6pKF4jkv97zmqBJ3ZL8gUw5DfT2NMQ`**. These test credentials work with [form interface](https://docs.paytrail.com/payments/), [REST interface](https://docs.paytrail.com/legacy/rest-interface/) and payment method selection page embedding.

More: <https://docs.paytrail.com/credentials/>

Payment credentials for customer: <https://paytrail.github.io/api-documentation/#/payment-method-providers?id=general-limitations>


---

# 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:

```
GET https://edentech.gitbook.io/glover/extensions-1/paytrail.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.
