payrexx / payment-gateway
payrexx/payment-gateway
Payrexx Payment Gateway module for Magento 2
Payrexx PaymentGateway Module for Magento2
A Payrexx plugin to accept payments in Magento.
Support
This module supports Magento versions 2.2.* - 2.4.*
Note: It may work on future Magento releases, but performance cannot be guaranteed.
Preparation
The usage of this module requires Payrexx REST API credentials. To obtain Payrexx REST API, please create your account in Payrexx.
Integration
1. Installation
Download the module as "zip" archive
-
Locate the /app/ directory which should be under the Magento root installation.
-
Create the folder structure code/Payrexx/PaymentGateway/ inside the app folder.
(i.e) app-> code->Payrexx->PaymentGateway
-
Download the package from the github site (https://github.com/payrexx/magento-payrexx-gateway.git).
-
Extract the zip contents to the PaymentGateway folder you just created. The README.md and all other files and folders is stored in PaymentGateway folder.
2. Requirements
This extension requires the Payrexx API library for PHP.
If you are not using Composer already, then you should read the installation guide http://getcomposer.org/download/
Enter the following command in your Magento root folder:
$ composer require payrexx/payrexx
Note:
If Composer needs username and password, refer http://devdocs.magento.com/guides/v2.2/install-gde/prereq/connect-auth.html
While running Composer, If you can't login to repo.magento.com, rename the file auth.json.sample into auth.json which is present inside Magento root directory and insert your Public Key & Private Key in the auth.json.
3. Magento Setup
Enable Extension Via Admin Web Setup Wizard
Log in to your Magento Admin Panel.
-
Go to SYSTEM -> Web Setup Wizard -> Choose Module Manager
-
Find Payrexx_PaymentGateway and select Enable from the Select drop-down menu.
-
Complete the Step 1: Readiness Check, Step 2: Create Backup, Step 3: Enable Module
Please wait until the process is completed.
Enable Extension via command line.
Go to Magento root directory and execute the following commands
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile
$ bin/magento cache:clean
Note: It takes sometime for the process to complete.
4. Configuration in Magento
To configure the module, log in to your Magento Admin panel.
-
Go to Stores -> Configuration -> Sales -> Payment methods
-
Find and click on Payrexx under OTHER PAYMENT METHODS
-
To configure your Payrexx Module Configuration, use the Instance Name and API Secret obtained earlier while creating your account in Payrexx.
(e.g. If you have registered the url as https://testing123.payrexx.com your instance will be ‘testing123’). -
Click Save Config to save the configuration values.
5. Payrexx Configuration
To Configure the webhook URL in Payrexx, Log in your Payrexx account.
-
Go to settings -> API --> Find Webhook URL
-
Insert the URL to your shop and add /payrexx/payment/webhook
(e.g. If your shop url ishttp://www.example.com, the Webhook URL will behttp://www.example.com/payrexx/payment/webhook)
Update
To make use of a new update of the module the following steps need to completed.
-
Upload the module code to the directory app/code/Payrexx/PaymentGateway of your Magento 2 installation
-
Execute the following commands for the update to take affect:
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile
$ bin/magento cache:clean
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 1.4.9 | stable | Fail | Magento 2.4.7-2.4.9 Details | 2026-06-16 07:45:10 |
| 1.4.8 | stable | Fail | Magento 2.4.7-2.4.9 Details | 2026-04-15 07:20:28 |
| 1.4.7 | stable | Not tested | Not yet tested Details | 2026-03-23 12:11:37 |
| 1.4.6 | stable | Not tested | Not yet tested Details | 2026-03-13 11:36:33 |
| 1.4.5 | stable | Not tested | Not yet tested Details | 2025-12-19 11:35:27 |
| 1.4.4 | stable | Not tested | Not yet tested Details | 2025-11-17 13:35:57 |
| 1.4.3 | stable | Not tested | Not yet tested Details | 2025-10-30 11:30:10 |
| 1.4.2 | stable | Not tested | Not yet tested Details | 2025-10-03 10:14:37 |
| 1.4.1 | stable | Not tested | Not yet tested Details | 2025-09-16 10:38:15 |
| 1.4.0 | stable | Not tested | Not yet tested Details | 2025-08-13 07:06:21 |
| 1.3.20 | stable | Not tested | Not yet tested Details | 2025-08-06 05:46:31 |
| 1.3.19 | stable | Not tested | Not yet tested Details | 2025-06-12 06:39:10 |
| 1.3.18 | stable | Not tested | Not yet tested Details | 2025-05-06 13:06:11 |
| 1.3.17 | stable | Not tested | Not yet tested Details | 2025-02-05 05:54:02 |
| 1.3.16 | stable | Not tested | Not yet tested Details | 2024-11-27 13:15:38 |
| 1.3.15 | stable | Not tested | Not yet tested Details | 2024-11-19 05:35:04 |
| 1.3.14 | stable | Not tested | Not yet tested Details | 2024-10-23 06:12:43 |
| 1.3.13 | stable | Not tested | Not yet tested Details | 2024-09-26 07:05:34 |
| 1.3.12 | stable | Not tested | Not yet tested Details | 2024-07-16 07:32:24 |
| 1.3.11 | stable | Not tested | Not yet tested Details | 2024-07-05 13:56:09 |
| 1.3.10 | stable | Not tested | Not yet tested Details | 2024-06-10 06:21:55 |
| 1.3.8 | stable | Not tested | Not yet tested Details | 2023-04-26 13:30:29 |
| 1.3.7 | stable | Not tested | Not yet tested Details | 2023-04-13 12:59:06 |
| 1.3.6 | stable | Not tested | Not yet tested Details | 2023-04-11 08:30:39 |
| 1.3.5 | stable | Not tested | Not yet tested Details | 2023-02-16 14:18:58 |
| 1.3.4 | stable | Not tested | Not yet tested Details | 2023-02-14 10:20:12 |
| 1.3.3 | stable | Not tested | Not yet tested Details | 2023-02-09 20:41:54 |
| 1.3.2 | stable | Not tested | Not yet tested Details | 2023-01-23 12:59:17 |
| 1.3.1 | stable | Not tested | Not yet tested Details | 2022-12-05 16:24:57 |
| 1.3.0 | stable | Not tested | Not yet tested Details | 2022-10-10 13:22:49 |
| 1.2.1 | stable | Not tested | Not yet tested Details | 2022-07-30 10:58:23 |
| 1.2.0 | stable | Not tested | Not yet tested Details | 2022-07-12 14:52:11 |
| 1.1.0 | stable | Not tested | Not yet tested Details | 2022-02-02 13:26:33 |
Requires 2
| Package | Constraint |
|---|---|
| payrexx/payrexx | ^2.0.12 |
| php | ^8.0 |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Fail | 133 | 4 errors, 129 warnings (ruleset: Magento2) — 58 auto-fixable with phpcbf |
| PHPMD | Warning | 17 | 17 rule violations (UnusedFormalParameter:7, MissingImport:5, IfStatementAssignment:2, CyclomaticComplexity:1, NPathComplexity:1) |
| Cpd | Pass | 0 | |
| Composer validate | Info | 1 | valid; 1 advisory note (composer validate --strict) |
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.