> For the complete documentation index, see [llms.txt](https://edentech.gitbook.io/instahaul/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/instahaul/extensions/paytrail.md).

# Paytrail

![](https://content.gitbook.com/content/qpzpUHpvEwV9ShSZ1v55/blobs/sIWIBvu4pTaa2XhVqvO7/image.png)

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.

![](https://content.gitbook.com/content/qpzpUHpvEwV9ShSZ1v55/blobs/COpOe8jAoQ5Gl0XMVNmJ/image.png)

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