# rubic/magento2-module-clean-checkout

> A drop-in replacement for the Magento 2 checkout.

`composer require rubic/magento2-module-clean-checkout`

Canonical URL: https://packagento.com/rubic/magento2-module-clean-checkout

## At a glance

- **Vendor**: rubic (https://packagento.com/rubic.md)
- **Latest version**: 2.0.0 — released 2018-04-10
- **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/rubic/magento2-module-clean-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 rubic/magento2-module-clean-checkout:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

A drop-in replacement for the Magento 2 checkout.

## README

A drop-in replacement for the Magento 2 checkout.

[![Build Status](https://travis-ci.org/danslo/CleanCheckout.svg?branch=master)](https://travis-ci.org/danslo/CleanCheckout)

### Features

- Overall checkout improvements, such as;
    - Show input labels next to the fields
    - Allow disabling checkout fields like telephone, company, etc.
    - Remove the header and footer from the checkout entirely.
    - Force totals mode, so the customer is aware of totals during entire checkout.
    - In addition to the above, always show cart items for additional clarity.
    - Move cart/totals blocks to more logical places.
    - Remove jerkiness when switching between checkout steps, and allow setting of step transaction speed.
    - Allow disabling of useless shipping method step with just 1 available option.
    - Allow changing of checkout colors using useful colorpickers.
    - Uses [Font Awesome](http://fontawesome.io/) to provider better icons.
- Geo IP: Customer country is detected and immediately injected in the right places so it will be used for Shipping and Billing country fields and for calculating tax estimates.
- Social Login: Uses [Hybridauth](https://hybridauth.github.io/) to allow customers to login with their favorite social media.
- Newsletter: Lets customers immediately subscribe to the newsletter from the final step in the checkout.
- Address Autocompletion: Using the [Google Maps Autocomplete API](https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform), we can significantly reduce the number of fields required by the customer.
- Field Order: Allow administrators to choose their own order of checkout fields.

All of these features are highly customizable from the backend.

### Installation

```bash
$ composer require rubic/magento2-module-clean-checkout
```

Note: getting an error while installing? Look [here](https://github.com/danslo/CleanCheckout/issues/5#issuecomment-349649361) for a temporary workaround.

### Screenshot

![Image of Clean Checkout](https://i.imgur.com/Fs7So1d.png)

### Demo

You can find a demo environment [here](https://demo.cleancheckout.com/). Please note that it may not be running the latest version of this module at all times.

### Frequently Asked Questions

See [this](https://github.com/danslo/CleanCheckout/wiki/Frequently-Asked-Questions) wiki page.

### Reporting Issues

Before you create an issue, ensure that the incorrect behavior you are encountering doesn't also appear without this module.  This ensures it's not a configuration issue or Magento 2 bug.

### License

Copyright 2018 Rubic

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## Recent Versions

| Version | Released |
|---|---|
| 2.0.0 | 2018-04-10 |
| 1.7.1 | 2018-04-03 |
| 1.7.0 | 2018-04-03 |
| 1.6.0 | 2018-02-23 |
| 1.5.1 | 2018-02-02 |
| 1.5.0 | 2018-02-01 |
| 1.4.7 | 2018-01-27 |
| 1.4.6 | 2018-01-25 |
| 1.4.5 | 2018-01-24 |
| 1.4.4 | 2018-01-24 |

Showing 10 of 40 versions. Full release history on https://packagento.com/rubic/magento2-module-clean-checkout.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| rubic/magento2-module-clean-checkout-autocomplete | ^2.0 |
| rubic/magento2-module-clean-checkout-core | ^2.0 |
| rubic/magento2-module-clean-checkout-geo | ^2.0 |
| rubic/magento2-module-clean-checkout-newsletter | ^2.0 |
| rubic/magento2-module-clean-checkout-social | ^2.0 |
| rubic/magento2-module-clean-checkout-theme | ^2.0 |

## Quality

Latest release (2.0.0) passes 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 | Pass | 0 |  |

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


### 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 | 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=["rubic/magento2-module-clean-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

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

