# vaimo/kustom-m2-checkout

`composer require vaimo/kustom-m2-checkout`

Canonical URL: https://packagento.com/vaimo/kustom-m2-checkout

## At a glance

- **Vendor**: Vaimo (https://packagento.com/vaimo.md)
- **Latest version**: 1.1.3 — released 2026-04-27
- **Pricing**: Free
- **Package type**: Metapackage (bundle of modules)
- **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/vaimo/kustom-m2-checkout 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 vaimo/kustom-m2-checkout:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## README

### Overview

`kustom-m2-checkout` is a metapackage for Magento 2 that orchestrates a comprehensive checkout solution for e-commerce platforms. It aggregates multiple specialized modules designed to enhance and streamline the checkout experience, payments processing, and order management within Magento 2.

### Purpose

This metapackage serves as a unified checkout ecosystem for Magento 2, combining the following key functionalities:

- **Payment Processing**: Comprehensive payment methods support including Klarna and Klarna Checkout (KCO)
- **Order Management**: Advanced order line management and order status management
- **GraphQL Support**: GraphQL API endpoints for modern headless commerce implementations
- **Logging & Debugging**: Centralized logging for monitoring and troubleshooting
- **Admin Settings**: Customizable admin configuration panel for checkout features
- **API Integrations**: Plugin API support and Klarna API integrations
- **Sign-In Workflows**: Kustom Sign In With Klarna (SIWK) functionality
- **Knowledge Base System**: Kustom Service Support (KSS) module
- **Core Infrastructure**: Base modules for module support and interoperability

### Included Modules

The metapackage includes the following dependencies:

- `vaimo/kustom-module-support` - Core support functionality
- `vaimo/kustom-module-siwk` - Sign In With Klarna
- `vaimo/kustom-module-plugins-api` - Plugins API framework
- `vaimo/kustom-module-orderlines` - Order line management
- `vaimo/kustom-module-osm` - Order status management
- `vaimo/kustom-module-kss` - Kustom Service Support
- `vaimo/kustom-module-payments-graph-ql` - GraphQL payment APIs
- `vaimo/kustom-module-payments` - Payment processing
- `vaimo/kustom-module-klarna-api` - Klarna API integration
- `vaimo/kustom-module-kco` - Klarna Checkout integration
- `vaimo/kustom-module-base` - Base module utilities
- `vaimo/kustom-module-backend` - Backend services
- `vaimo/kustom-module-admin-settings` - Admin configuration
- `vaimo/kustom-module-logger` - Logging utilities

### Installation

This is a metapackage and should be installed via Composer as part of your Magento 2 project:

```bash
composer require vaimo/kustom-m2-checkout
```

### Requirements

- Magento 2.x
- Composer
- Access to Magento Composer repository and Vaimo GitHub repositories

## Changelog

1.1.3 / 2026-04-30
==================

  * KUSTOM-52 Disable Sign in with Klarna (SIWK) - [DEPRECATED] - admin-settings:1.1.3
  * KUSTOM-54 Fixed a type error that could cause checkout to fail when address prefill was used. - kco:12.0.21
  * KUSTOM-55 Fixed an issue where no error message was shown when a Klarna API exception occurred - base:11.0.17
  * KUSTOM-56 Fixed sanitization of merchant checkbox labels to preserve spaces and special characters - admin-settings:1.1.3
  * KUSTOM-57 Cleanup leftover debugging code - backend:11.0.18
  * KUSTOM-63 Fixed compatibility with PKSA-y2cr-5h3j-g3ys Security Advisory - siwk:1.0.15
  * KUSTOM-68 Fixed guzzlehttp/guzzle compatibility for Magento versions earlier than 2.4.5 - base:11.0.17, klarna-api:1.0.8
  * KUSTOM-76 Fix Shipping amount does not match for order between Kustom and Magento - kco:12.0.22
  * [KUSTOM-58][KUSTOM-77][KUSTOM-82][KUSTOM-83][KUSTOM-84] Fix Orders instantly cancelled by api because of uncaught exceptions kco:12.0.22
  * KUSTOM-88 DEPRECATED Hide/Disable Klarna Payments, On-Site Messaging and Express Checkout - admin-settings:1.1.4
  * KUSTOM-20 Fix broken merchant portal link in order detail page - base:11.0.17
  * KUSTOM-83 Fix Magento cancel status if klarna order is cancelled

1.1.2 / 2026-02-24
==================

  * KUSTOM-42 Removed obsolete "Client identifier" field from API credentials in admin configuration panel
  * KUSTOM-49 Fixed critical error around logging address data into file when updating logged in user address
  * KUSTOM-51 Changed the direct linking to Kustom's merchant portal on the admin panel

## Recent Versions

| Version | Released |
|---|---|
| 1.1.3 | 2026-04-27 |
| 1.1.2 | 2026-02-24 |
| 1.1.1 | 2026-02-06 |
| 1.1.0 | 2026-02-06 |
| 1.0.0 | 2025-09-16 |

## Dependencies

### Require

| Package | Constraint |
|---|---|
| vaimo/kustom-module-admin-settings | 1.1.4 |
| vaimo/kustom-module-backend | 11.0.18 |
| vaimo/kustom-module-base | 11.0.17 |
| vaimo/kustom-module-kco | 12.0.23 |
| vaimo/kustom-module-klarna-api | 1.0.8 |
| vaimo/kustom-module-kss | 3.0.17 |
| vaimo/kustom-module-logger | 3.0.9 |
| vaimo/kustom-module-orderlines | 3.0.17 |
| vaimo/kustom-module-osm | 4.0.17 |
| vaimo/kustom-module-payments | 10.0.19 |
| vaimo/kustom-module-payments-graph-ql | 3.0.19 |
| vaimo/kustom-module-plugins-api | 1.0.6 |
| vaimo/kustom-module-siwk | 1.0.15 |
| vaimo/kustom-module-support | 3.0.15 |

## Quality

Latest release (1.1.3) 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 | – | not tested | not tested | – |
| 2.4.9 | – | – | not tested | 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 | N/A | 0 | metapackage ships no source of its own — phpcs skipped (#122) |
| PHPMD | N/A | 0 | metapackage ships no source of its own — phpmd skipped (#122) |
| Cpd | N/A | 0 | metapackage ships no source of its own — cpd skipped (#122) |
| PHP Compatibility | N/A | 0 | metapackage ships no source of its own — php-compatibility skipped (#122) |
| Composer validate | Info | 17 | valid; 17 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 | 582 | 582 | – | – |
| 2.4.8 | – | 580 | 580 | – |
| 2.4.9 | – | – | 580 | 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 | N/A | 0 | no resolvable dependency tree to audit |
| Malware scan | N/A | 0 | metapackage ships no source of its own — malware scan skipped (#122) |

## 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=["vaimo/kustom-m2-checkout"],
  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

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

