PHPackages                             pmclain/module-one-click-checkout - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. pmclain/module-one-click-checkout

Abandoned → [magento/module-instant-purchase](/?search=magento%2Fmodule-instant-purchase)ArchivedMagento2-module

pmclain/module-one-click-checkout
=================================

One Click Checkout - Magento 2

v0.1.1(8y ago)54310GPL-3.0PHPPHP ~5.6.0|~7.0.0|~7.1.0

Since Oct 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/pmclain/magento2-one-click-checkout)[ Packagist](https://packagist.org/packages/pmclain/module-one-click-checkout)[ RSS](/packages/pmclain-module-one-click-checkout/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

THIS PROJECT IS ABANDONED
=========================

[](#this-project-is-abandoned)

This was something fun I built over a weekend after hearing Amazon's patent had expired. The Magento core team has [created there own version](https://github.com/magento/magento2/tree/2.2-develop/app/code/Magento/InstantPurchase) to be included in a future release of v2.2 and beyond. If you want this feature on the your Magento store you **SHOULD** wait for the core release and **NOT** install this module.

Magento 2 One Click Checkout
----------------------------

[](#magento-2-one-click-checkout)

Add one click checkout option for logged in customers.

### Description

[](#description)

This module adds a button for "One Click Checkout" to the product view page for customers meeting the following criteria:

- Customer MUST be logged in
- Customer MUST have default shipping and billing address
- Customer MUST have default vault payment method selected

Clicking the "One Click Checkout" button initiates and completes the transaction on the product view page. Once complete, a modal displays a link to the order view page and a summary of the order totals.

### Installation

[](#installation)

`composer install pmclain/module-one-click-checkout:dev-master`
`bin/magento setup:upgrade`

### Configuration

[](#configuration)

Module settings are found in:
`Stores->Configuration->Checkout->One Click Checkout`

- **Enabled**: Enables/Disables One Click Checkout
- **Shipping Method**: The shipping method used for all One Click Checkout orders
- **Set Default Payment Methods**: Sets the default payment method for all customers without a default payment. The last stored payment method for is set as default.

### Compatibility

[](#compatibility)

**Compatible Payment Modules**

- Magento\_Braintree (included with Magento)
- [Pmclain\_Stripe](https://github.com/pmclain/module-stripe)
- [Pmclain\_AuthorizenetCim](https://github.com/pmclain/module-authorizenetcim)

***Adding a new Vault Payment Provider***

1. Create class implementing `Pmclain\OneClickCheckout\Api\VaultSourceInterface`. The returned array should include the vault method code and any additional information required by the method's gateway request builders. The Braintree source can be referenced as an example, `Pmclain\OneClickCheckout\Model\VaultSource\Braintree`.
2. Add the new VaultSource to the VaultPool in di.xml

```

            {{VaultSourceClass}}

```

3. Update card renderer template via `Vendor/Module/view/frontend/layout/vault_cards_listaction.xml`

```

        Pmclain_OneClickCheckout::customer_account/credit_card.phtml

```

### Magento Version Requirements

[](#magento-version-requirements)

ReleaseMagento Version0.1.x2.2.x0.1.x2.1.xNope2.0.x### Screenshots

[](#screenshots)

**Order Button**[![Button](docs/screenshots/button.png)](docs/screenshots/button.png)

**Order Confirmation**[![Confirmation](docs/screenshots/order-confirmation.png)](docs/screenshots/order-confirmation.png)

**Order Placement Error**[![Error](docs/screenshots/error.png)](docs/screenshots/error.png)

**Customer Card Management**[![Card Management](docs/screenshots/card-management.png)](docs/screenshots/card-management.png)

**Admin Configuration**[![Admin Config](docs/screenshots/admin.png)](docs/screenshots/admin.png)

### License

[](#license)

GNU GENERAL PUBLIC LICENSE Version 3

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Total

2

Last Release

3124d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/671fcbe5c3d71446e58842e366265b4f658b6e1dd70b70b6c960e8e666ee465f?d=identicon)[pmclain](/maintainers/pmclain)

---

Top Contributors

[![pmclain](https://avatars.githubusercontent.com/u/12674247?v=4)](https://github.com/pmclain "pmclain (5 commits)")

---

Tags

checkoutmagento2magento2-extensionmagento2-moduleoneclick

### Embed Badge

![Health badge](/badges/pmclain-module-one-click-checkout/health.svg)

```
[![Health](https://phpackages.com/badges/pmclain-module-one-click-checkout/health.svg)](https://phpackages.com/packages/pmclain-module-one-click-checkout)
```

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.2M1](/packages/fastly-magento2)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

277.1k](/packages/mage-os-module-automatic-translation)[zepgram/module-rest

Technical module to industrialize API REST call with dependency injection pattern using Guzzle library

1326.2k](/packages/zepgram-module-rest)[graycore/magento2-graphql-introspection-cache

1015.2k](/packages/graycore-magento2-graphql-introspection-cache)[mage-os/mageos-common-async-events

Send REST requests to external endpoints asynchronously. This module implements the most common events like order creation and customer change.

147.7k2](/packages/mage-os-mageos-common-async-events)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

126.8k](/packages/mage-os-module-inventory-reservations-grid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
