# adyen/adyen-magento2-expresscheckout

> Official Adyen Magento2 plugin to add express payment method shortcuts.

`composer require adyen/adyen-magento2-expresscheckout`

Canonical URL: https://packagento.com/adyen/adyen-magento2-expresscheckout

## At a glance

- **Vendor**: adyen (https://packagento.com/adyen.md)
- **Latest version**: 3.1.4 — released 2026-07-07
- **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/adyen-magento2-expresscheckout 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/adyen-magento2-expresscheckout:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

Official Adyen Magento2 plugin to add express payment method shortcuts.

## README

This module gives our customers the ability to add express payment methods into Magento (Adobe) eCommerce PDP, Cart and Mini-Cart pages to increase shopper converison. 
This module is to be used along with the [Adyen Payment plugin for Magento 2](https://github.com/Adyen/adyen-magento2) and is not a standalone product.

### Payment Methods Supported
* Apple Pay express checkout options on the product page, mini cart and cart.
* Google Pay express checkout options on the product page, mini cart and cart.
* PayPal express checkout options on the product page, mini cart and cart.

For the full list of payment methods available with Adyen, refer to [Adyen Docs](https://docs.adyen.com/plugins/adobe-commerce/supported-payment-methods/).

### Requirements
This module supports
* Magento 2 version 2.4 and higher
* Adyen Payment plugin for Magento 2 v8.8.0 and higher

### Installation
You can install our module through Composer:
```
composer require adyen/adyen-magento2-expresscheckout
bin/magento module:enable Adyen_ExpressCheckout
bin/magento setup:upgrade
bin/magento cache:clean
```

### Configuration Steps
1. Add the express payment method in your [Customer Area](https://docs.adyen.com/payment-methods#add-payment-methods-to-your-account).
2. Make sure that Payment methods are activated in your [Magento configuration](https://docs.adyen.com/plugins/adobe-commerce/set-up-the-payment-methods-in-adobe-commerce/).
3. In the Magento admin page, go to Accepting Payments > Online Checkout > Express Payments > Show Google Pay on > Select one or all of your desired options.
4. For Apple Pay: [Use Adyen's Apple Pay Certificate to go live](https://docs.adyen.com/payment-methods/apple-pay/web-component#going-live), without designing your Apple Pay integration.
5. For Google Pay: Set up [Google Pay](https://docs.adyen.com/payment-methods/google-pay/web-component#before-you-go-live).

### Best Practice
1. **Managing Quote Table Growth**: The PDP page refresh with a PDP express payment method enabled creates new `quotes` to store updated payment data data. While this is expected behavior and not critical, it may lead to gradual growth of the quotes table. If relevant for your store, consider setting up a scheduled cleanup for old or inactive quotes.

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

### 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 a month.**

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

### Support
If you have a feature request, or spotted a bug or a technical problem, create a GitHub issue. For other questions, contact our [support team](https://support.adyen.com/hc/en-us/requests/new?ticket_form_id=360000705420).

### License
MIT license. For more information, see the [LICENSE](LICENSE) file.

## Recent Versions

| Version | Released |
|---|---|
| 3.1.4 | 2026-07-07 |
| 3.1.3 | 2026-03-03 |
| 2.5.6 | 2026-03-03 |
| 3.1.2 | 2026-02-17 |
| 2.5.5 | 2026-02-17 |
| 3.1.1 | 2026-02-03 |
| 3.1.0 | 2026-01-06 |
| 2.5.4 | 2025-12-23 |
| 3.0.3 | 2025-12-23 |
| 3.0.2 | 2025-11-25 |

Showing 10 of 41 versions. Full release history on https://packagento.com/adyen/adyen-magento2-expresscheckout.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| adyen/module-payment | ^10.2.0 |

### Require (dev)

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

## Quality

Latest release (3.1.4) 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 | 1 | 1 | – | – |
| 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 | 268 | 268 warnings (ruleset: Magento2), 46 auto-fixable with phpcbf |
| PHPMD | Warning | 47 | 47 rule violations (UnusedFormalParameter:25, ExcessiveParameterList:4, MissingImport:4, UndefinedVariable:4, UnusedPrivateMethod:3) |
| Cpd | Pass | 0 |  |
| PHP Compatibility | Pending | 0 |  |
| 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 | 353 | 353 | – | – |
| 2.4.8 | – | 274 | 273 | – |
| 2.4.9 | – | – | 260 | 260 |


### 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/adyen-magento2-expresscheckout"],
  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.

