# paycomet/payment

> A Magento 2 module for PAYCOMET payments

`composer require paycomet/payment`

Canonical URL: https://packagento.com/paycomet/payment

## At a glance

- **Vendor**: paycomet (https://packagento.com/paycomet.md)
- **Latest version**: 2.4.47 — released 2026-07-01
- **Pricing**: Free
- **Package type**: Magento 2 module
- **Status**: active, accepting new buyers

## Installation

Packagento is licence-gated, so even free packages need a licence on a project before Composer can resolve them.

1. **Sign in or create an account** at https://packagento.com/customer/account/.

2. **Add the package to your account.** Open https://packagento.com/paycomet/payment and complete the free checkout. A licence is minted automatically.

3. **Create or pick a project, then activate the licence on it.**
   - Projects represent the Magento installs you deploy to. Manage them at https://packagento.com/projects/.
   - Activate the new licence on the project you'll deploy this package to. Activation is what generates the Composer credentials scoped to that project.

4. **Add the project credentials to your Magento codebase.**

   Grab the project's public + private key from https://packagento.com/projects/ (open the project, then its Credentials tab), and add them to `auth.json`:

   ```json
   {
     "http-basic": {
       "packagento.com": {
         "username": "ppk_live_...",
         "password": "psk_live_..."
       }
     }
   }
   ```

   Add the Packagento Composer repository to `composer.json`:

   ```json
   {
     "repositories": [
       { "type": "composer", "url": "https://packagento.com" }
     ]
   }
   ```

5. **Install and apply.**

   ```bash
   composer require paycomet/payment:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

A Magento 2 module for PAYCOMET payments

## README

Accept payments with PAYCOMET using Magento2. Suports Magento2 version 2.1 and higher.

### Description

Integrates the PAYCOMET platform in Magento2

### Requirements

* Magento 2.*
* PHP >= 5.6.0
* Magento version as specified in composer.json of this project
* PAYCOMET account ([Account registration](https://www.paycomet.com/crear-una-cuenta))

### Installation

#### Install the PAYCOMET Magento 2 composer package

```composer require paycomet/payment```

#### Enable the extension in Magento 2

```bin/magento module:enable Paycomet_Payment --clear-static-content```

#### Setup the extension and refresh cache

```bin/magento setup:upgrade```

```bin/magento cache:flush```

```bin/magento setup:di:compile```

```bin/magento setup:static-content:deploy```


### Configuration

Once installed, this module can be configured in the usual way by logging into the Magento admin area and navigating to:

Stores > Configuration > Sales > Payment Methods > PAYCOMET

More details are available in the PAYCOMET:

https://docs.paycomet.com/es/modulos-de-pago/magento2


### Release Notes

> 2.4.47:

- Integración Apple Pay

> 2.4.46:

- Mejoras de código.

> 2.4.45:

- Mejoras de código

> 2.4.44:

- Cambio logo Ideal | Wero.

> 2.4.43:

- Cambio logo Waylet.

> 2.4.42: 

- Mejoras de código.

> 2.4.41: 

- Compatiblidad Magento 2.4.8 y php 8.4.

> 2.4.40: 

- Mejoras de código. Se añaden validaciones.

> 2.4.39: 

- Mejoras de código.

> 2.4.38: 

- Validación previa antes de cancelación de pedidos

> 2.4.37: 

- Compatibilidad php 8.3

> 2.4.36: 

- Nuevas funciones Graphql

> 2.4.35: 

- MB Way. Devoluciones

> 2.4.34: 

- Graphql. Obtencion de tokens

> 2.4.33: 

- Mejora de código. Calculo información pedido con cupones.

> 2.4.32: 

- Mejora de código

> 2.4.31: 

- Registro de transacción única por cada devolución.
- Mostrar imagen de SafeKey AMEX configurable en Modal de Pago.

> 2.4.30: 

- Compatibilidad php 8.2

> 2.4.29: 

- Mejoras de código jetIframe

> 2.4.28: 

- Mejoras de código

> 2.4.27: 

- Mejoras APM InstantCredit

> 2.4.26: 

- Se mantiene el carrito al redirigir al APM

> 2.4.25: 

- Se añade APM Waylet

> 2.4.24: 

- Se añade APM MB Way

> 2.4.23: 

- Control tokens inactivos. Los tarjetas caducadas ya no se muestrasn en el checkout.

> 2.4.22: 

- Mejoras de código. Los pedidos de los APMs se crean inicialmente en estado pending_payment a excepción de Multibanco que se crea en pending.

> 2.4.21: 

- Validación Magento 2.4.4 y php 8.1
- Mejoras APM InstantCredit. Configuración límites

> 2.4.20: 

- Mejoras APM InstantCredit

> 2.4.19: 

- Se añaden a lista blanca dominios para diferentes policies.
- Mejoras de código en integración jetIframe.

> 2.4.18: 

- Se añade opcion para configurar el estado de los nuevos pedidos en los APMs.
- Imagen png de Multibanco

> 2.4.17: 

- Se añaden variables de Multibanco para poder usar en templates

> 2.4.16: 

- Mejora de código

> 2.4.15: 

- APM Multibanco: Se incorporan datos

> 2.4.14: 

- Mejoras de codigo. Llamada al formulario de pago.

> 2.4.13: 

- Se añade APM KlarnaPayments y Paypal

> 2.4.12: 

- Parametros configurables por store view

> 2.4.11: 

- Soporte operativa DCC

> 2.4.10: 

- Mejoras en Preautorizaciones de Multitienda.

> 2.4.9: 

- Mejoras de código.

> 2.4.8: 

- Instant Credit: Posibilidad de configurar el simulador en Test y cambio de logo

> 2.4.7: 

- Se permite poner pedidos On-hold

> 2.4.6: 

- Fix pago con Apm sin tener pago con tarjeta Activo
- Se elimina Paypal de lo Apms

> 2.4.5: 

- Fix Alert

> 2.4.4: 

- Simulador de cuotas APM Instant Credit

> 2.4.3: 

- Cambio para que los pedidos de los APMs se queden en Pending Payment hasta que se pagan o se cancelan.
- No se envía mail de confirmación de pedido hasta que no se procesa el pago.

> 2.4.2: 

- Fix compatibilidad uso de prefijos en tablas.

> 2.4.1: 

- Compatibilidad con uso de prefijos en tablas.
- Mejoras de código

> 2.4.0: 

- **API Key [OBLIGATORIA]**: Debe dar de alta una API Key en su área de cliente de PAYCOMET e indicarla en el Plugin para poder operar.
- Integración jetIframe: Se añade la integración jetIframe.
- Métodos de Pago alternativos: Se añade la posibilidad de activar diferentes métodos de pago alternativos que deberá tener configurados en su área de cliente de PAYCOMET.

## Recent Versions

| Version | Released |
|---|---|
| 2.4.47 | 2026-07-01 |
| 2.4.46 | 2026-06-03 |
| 2.4.45 | 2026-03-23 |
| 2.4.44 | 2026-03-20 |
| 2.4.43 | 2026-03-05 |
| 2.4.42 | 2026-02-17 |
| 2.4.41 | 2025-09-10 |
| 2.4.40 | 2025-06-18 |
| 2.4.39 | 2025-05-29 |
| 2.4.38 | 2025-05-27 |

Showing 10 of 66 versions. Full release history on https://packagento.com/paycomet/payment.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| ext-xmlwriter | * |
| paycomet/composer-bankstore | ^2.1.6 |
| php | ~7.4.0\|~8.1.0\|~8.2.0\|~8.3.0\|~8.4.0 |

## Quality

Latest release (2.4.47) fails the Packagento QA pipeline. Verdicts below are per-cell (Magento line × PHP version) for the matrixed tools, and run-once for the static / security tiers.


### Compatibility

Each Magento line is installed on its supported PHP versions, then the module is built (DI compile + static-content deploy). Cells show passed / failed / untested; staircase gaps render as `–`.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | Pass | Pass | – | – |
| 2.4.8 | – | Pass | Pass | – |
| 2.4.9 | – | – | Pass | not tested |


### Code Quality

Advisory checks against the module's source. Never affect the Compatibility verdict — 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 | 92 | 2 errors, 90 warnings (ruleset: Magento2) — 58 auto-fixable with phpcbf |
| PHPMD | Warning | 150 | 150 rule violations (UndefinedVariable:45, MissingImport:34, UnusedLocalVariable:17, UnusedFormalParameter:15, CyclomaticComplexity:8) |
| Cpd | Warning | 3 | 3 duplicated chunks spanning 203 total lines (min-lines=5, min-tokens=70) |
| Composer validate | Info | 1 | valid; 1 advisory note (composer validate --strict) |

#### PHPStan

Type-checks the module against a real Magento install. Re-runs per Magento + PHP version because resolvable symbols differ between releases.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | 323 | Error | – | – |
| 2.4.8 | – | 324 | 324 | – |
| 2.4.9 | – | – | 324 | N/A |


### Tests

Unit and integration suites run per Magento + PHP cell. Test failures speak to the module's behaviour, not its compatibility with a line, so they're reported here separately.

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

Dependency-advisory audit (composer audit) plus a source malware scan. A malware detection fails the version outright.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| Composer audit | Pass | 0 |  |
| Malware scan | Pass | 0 |  |

## Licence and pricing

Free. A licence is still minted on checkout and bound to your project for Composer access — no payment step.

Refundable within 14 days of first purchase via https://packagento.com/account/refunds/.

## Install via Claude Code or any MCP client

The Packagento MCP server can run the licence + project + Composer steps above in one tool call:

```
purchase_and_install_packages(
  composer_names=["paycomet/payment"],
  project_id="proj_xxx"
)
```

This handles cart, checkout, licence minting, project activation, and writes auth.json credentials. Connect a client with `claude mcp add packagento https://mcp.packagento.com`. Full setup at https://packagento.com/docs/mcp-setup.

## Vendor

paycomet is a Magento 2 vendor on Packagento. See https://packagento.com/paycomet.md for their full catalogue.

