# Paymattic

## General Information

Paymattic is a WordPress plugin that allows users to manage payments, donations, and subscriptions without any coding skills. By integrating payment solutions such as Payrexx, you can receive payments directly from your customers.

### Links

* Paymattic [Website](https://paymattic.com/)
* Paymattic [Documentation](https://paymattic.com/docs/how-to-integrate-payrexx-in-wordpress-with-paymattic/)

## Setup

Follow the steps below to integrate Payrexx into Paymattic.

{% hint style="info" %}
Please note that integration with Paymattic is only available in the Standard and Premium plans. [For more information](https://payrexx.com/en/prices)
{% endhint %}

### Installing the plugin

* Log in to your WordPress account.
* Install the Paymattic plugin as described in the following instructions:

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FwPinFJ3WB2uY2uAVRJH7%2Fimage.png?alt=media&#x26;token=1a3d9c9b-5246-458f-8c4f-e222d616d841" alt=""><figcaption><p>Start plugin installation</p></figcaption></figure></div>

1. Navigate to **Plugins > Add Plugin**.
2. Search for "Paymattic".
3. Click "Install Now".

Then click the blue "Activate" button:

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FUd9VUBpTYOEFKVfprU5g%2Fimage.png?alt=media&#x26;token=336370e8-b6a3-4eaf-84c0-785015248d1e" alt="" width="563"><figcaption><p>Activating the Paymattic plugin</p></figcaption></figure></div>

### Configuring the plugin

{% hint style="info" %}
Please note that the Pro version of Paymattic is required to integrate Payrexx.
{% endhint %}

Configure the plugin by following these steps:

1. In the WordPress main menu, click on **Paymattic Pro**.
2. In the submenu, click on **Payment Gateway**.
3. Then select **Payrexx** from the menu.

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FYwTT7AUGQedqOpxtKPGx%2Fimage.png?alt=media&#x26;token=836be4b1-a87e-4834-97ac-e31ecefff76e" alt=""><figcaption><p>Configuring the Paymattic plugin</p></figcaption></figure></div>

* Decide how the checkout process should appear. You have the following options:
  * **Modal Checkout Style:** The user remains on the page and the payment form opens as a pop-up
  * **Hosted on payrexx.com:** The user is redirected to the Payrexx checkout page

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FVQrkvGKFERa9ZWBFKXv7%2Fimage.png?alt=media&#x26;token=7165e1cb-9acf-498c-af0d-a66386696233" alt="" width="527"><figcaption><p>Choosing a checkout style</p></figcaption></figure></div>

### Configuration of Payrexx

{% hint style="info" %}
Make sure you're [logged in](https://login.payrexx.com/) to your Payrexx account before you begin. If you don’t have a Payrexx account yet, please [register](https://signup.payrexx.com/).
{% endhint %}

* In the merchant dashboard of your Payrexx account, navigate to **API & Plugins**.
* Click on "Add API Key":

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FpNv3EmTmCnEMgwyD2zaW%2Fimage.png?alt=media&#x26;token=c970227f-97fa-41f4-8233-986bbc0cbd6f" alt=""><figcaption><p>Adding a new API Key in Payrexx</p></figcaption></figure></div>

* Assign a name for the integration and save your settings by clicking "Add":

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2Ff9YZJcbeKSXyx1Mgnhti%2Fimage.png?alt=media&#x26;token=6b662145-0ca9-4ac1-b241-3e490749166e" alt=""><figcaption><p>Adding a name for the integration and saving the settings</p></figcaption></figure></div>

* The API Key for Paymattic now appears in the list of active integrations. Copy the key to your clipboard – you will need it in the next step.

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FQFUZt81H1Boubhmvr02k%2Fimage.png?alt=media&#x26;token=31e95de5-c9ae-4bf7-99f3-4519d15ce087" alt=""><figcaption><p>Copying the API Key to the clipboard</p></figcaption></figure></div>

### Configuration of Paymattic

* In WordPress, go to **Paymattic (Pro) > Payment Gateway > Payrexx**.
* Paste the API Key into the corresponding field.
* Enter the instance name of your Payrexx account.

{% hint style="info" %}
The instance name is the first part of your Payrexx URL. For example, if your URL is *example.payrexx.com*, your instance name is *example*.
{% endhint %}

* Click "Save Settings" to complete the integration.

{% hint style="success" %}
Payrexx and Paymattic are now successfully connected.
{% endhint %}
