# adyen/module-payment

> Official Magento2 Plugin to connect to Payment Service Provider Adyen.

`composer require adyen/module-payment`

Canonical URL: https://packagento.com/adyen/module-payment

## At a glance

- **Vendor**: adyen (https://packagento.com/adyen.md)
- **Latest version**: 10.10.2 — released 2026-05-12
- **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/adyen/module-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 adyen/module-payment:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

Official Magento2 Plugin to connect to Payment Service Provider Adyen.

## README

Use Adyen's plugin for Magento 2 to offer frictionless payments online, in-app, and in-store.

### Integration
The plugin integrates card component (Secured Fields) using Adyen Checkout for all card payments. For Point Of Sale (POS) payments we use Terminal API using Cloud-based communication.

#### Support Vault and Instant Purchase ###
Inside Adyen toggle the following settings on inside the API and Responses section (Settings -> API and Responses):
* Recurring details
* Card bin
* Card summary
* Expiry date
* Variant

### Requirements
This plugin is compatible with Magento version 2.4.8 only.

### Releases

1. **Major** releases are done ONLY when absolutely required. We try to not to introduce breaking changes and do major releases as rare as possible. Current average is **yearly**.
2. A minor or a patch release is scheduled but not limited to **once every 2 weeks.**

**Note: This can be subject to change based on the load and dependancies of the Integration tools team.**

### Customizing Adobe Commerce Plugin
You can customize your shoppers' checkout experience and add custom functionality to the plugin to meet your business needs. For example, you can apply modifications to the checkout process, or customize the style of your checkout to match your brand. 

For customizations, developers should extend the plugin by following Adyen’s API and [Adyen Plugin Customisation Guide](https://docs.adyen.com/plugins/adobe-commerce/customize/). If you customize inside of the default Adyen plugin, Adyen may be unable to provide plugin support, and upgrading and troubleshooting your integration will require additional effort.

For more details, refer to:
* [Adyen API Explorer](https://docs.adyen.com/api-explorer/Checkout/latest/overview)
* [Adyen Adobe Commerce Plugin Customisation Guide](https://docs.adyen.com/plugins/adobe-commerce/customize/)
* [Adyen Webhooks](https://docs.adyen.com/api-explorer/Webhooks/1/overview)

### Support & Troubleshooting for Headfull Magento/ Adobe Commerce Plugin

We provide specialized plugin support for major versions of the plugin following Adyen Adobe Commerce Support policy for 2 years, along with permanent Adyen support. Contact our [support team here](https://support.adyen.com/hc/en-us/requests/new?ticket_form_id=360000705420).

When a major plugin version is no longer under Adyen Adobe Commerce plugin support, it will be treated as a custom merchant integration. It is recommended to upgrade your payments plugin every 1-2 years.

* [Migration and Upgrade Guide](https://docs.adyen.com/plugins/adobe-commerce/upgrade/)
* [Troubleshooting Guide](https://docs.adyen.com/plugins/adobe-commerce/troubleshooting/)
* [Adobe Comerce Plugin Support Schedule](https://docs.adyen.com/plugins/adobe-commerce/#support-levels) 

### Support & Troubleshooting for Headless Adobe Commerce Payments
Adyen Plugin Support can help you with questions relating to the core backend functionality of the Adobe Commerce Headless Payment integration, including [API request processing](https://docs.adyen.com/plugins/adobe-commerce/headless-integration/#checkout-flow), [authentication](https://docs.adyen.com/plugins/adobe-commerce/headless-integration/#requirements), and payment lifecycle management. Contact our [support team here](https://support.adyen.com/hc/en-us/requests/new?ticket_form_id=360000705420).

However, merchant-specific customizations, including frontend implementations, collection of shopper details, rendering of payment methods on custom front-end, middleware configurations e.g. placing the order, handling additional actions, checking payment status etc.; and third-party dependencies - fall outside the scope of Adyen support. 

We recommend leveraging Adyen’s debugging tools to troubleshoot custom Headless implementations:
* [Adyen Headless troubleshooting guide](https://docs.adyen.com/plugins/adobe-commerce/headless-integration/#troubleshooting)
* Troubleshoot Headless API validation: [GitPod FLOW for REST](https://www.postman.com/adyendev/adyen-flows/flow/669e40799441740032f40154), [GitPod Flow for GraphQL](https://www.postman.com/adyendev/adyen-flows/flow/66b665d5cafbb0003264bef9)
 
### Contributing
We strongly encourage you to join us in contributing to this repository so everyone can benefit from:
* New features and functionality
* Resolved bug fixes and issues
* Any general improvements

Read our [**contribution guidelines**](CONTRIBUTING.md) to find out how.


### Installation
You can install our plugin through Composer:
```
composer require adyen/module-payment
bin/magento module:enable Adyen_Payment
bin/magento setup:upgrade
```
For more information see our [installation section](https://docs.adyen.com/developers/plugins/magento-2/set-up-the-plugin-in-magento?redirect#step1installtheplugin).

### Documentation
- [Adobe Commerce (Magento 2) Adyen Payments Documentation](https://docs.adyen.com/plugins/adobe-commerce)
- [Adyen Payments V9 Migration Guide](https://docs.adyen.com/plugins/adobe-commerce/migrate-to-a-new-version)

### Setup Cron
Make sure that your Magento cron is running every minute. We are using a cronjob to process the notifications (our webhook service) and to update Adyen servers' IP addresses. The cronjobs will be executed every minute.

```
<group id="adyen_payment">
    <!-- Process stored Adyen webhooks/notifications -->
    <job name="adyen_payment_process_notification"
         instance="Adyen\Payment\Cron\WebhookProcessor"
         method="execute">
        <schedule>*/1 * * * *</schedule>
    </job>

    <!-- Refresh Adyen server IP address list used for webhook validation -->
    <job name="adyen_payment_server_address_caching"
         instance="Adyen\Payment\Cron\ServerIpAddress"
         method="execute">
        <schedule>*/1 * * * *</schedule>
    </job>

_(README truncated for .md surface. Full README on https://packagento.com/adyen/module-payment.)_

## Recent Versions

| Version | Released |
|---|---|
| 10.10.2 | 2026-05-12 |
| 9.20.15 | 2026-05-12 |
| 10.10.1 | 2026-04-14 |
| 9.20.14 | 2026-04-14 |
| 10.10.0 | 2026-03-31 |
| 10.9.0 | 2026-03-17 |
| 9.20.13 | 2026-03-17 |
| 10.8.0 | 2026-03-03 |
| 9.20.12 | 2026-02-17 |
| 10.7.2 | 2026-02-17 |

Showing 10 of 242 versions. Full release history on https://packagento.com/adyen/module-payment.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| adyen/php-api-library | ^28.1.0 |
| adyen/php-webhook-module | ^1.1.0 |
| ext-json | * |
| magento/framework | >=103.0.8 |
| magento/module-checkout-agreements | >=100.4.7 |
| magento/module-csp | >=100.4.7 |
| magento/module-graph-ql | >=100.4.8 |
| magento/module-instant-purchase | >=100.4.7 |
| magento/module-multishipping | >=100.4.8 |
| magento/module-vault | >=101.2.8 |
| php | ~8.2.0\|\|~8.3.0\|\|~8.4.0\|\|~8.5.0 |

### Require (dev)

| Package | Constraint |
|---|---|
| magento/magento-coding-standard | * |
| phpstan/phpstan | ^1.9 |
| phpunit/phpunit | ^10.5 |
| squizlabs/php_codesniffer | ~3.13.0 |

## Quality

Latest release (10.10.2) 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 | not tested | not tested | – | – |
| 2.4.8 | – | Pass | Pass | – |
| 2.4.9 | – | – | Pass | Pass |


### 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 | Warning | 2837 | 2837 warnings (ruleset: Magento2) — 711 auto-fixable with phpcbf |
| PHPMD | Warning | 450 | 450 rule violations (UndefinedVariable:143, UnusedFormalParameter:90, MissingImport:68, CyclomaticComplexity:20, ExcessiveMethodLength:18) |
| Cpd | Warning | 30 | 30 duplicated chunks spanning 825 total lines (min-lines=5, min-tokens=70) |
| Composer validate | Info | 8 | valid; 8 advisory notes (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 | Error | Error | – | – |
| 2.4.8 | – | 397 | 396 | – |
| 2.4.9 | – | – | 383 | 383 |


### 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 | Error | Error | – | – |
| 2.4.8 | – | Pass | Pass | – |
| 2.4.9 | – | – | Pass | Pass |

#### 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=["adyen/module-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

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

