Download the PHP package pmclain/module-one-click-checkout without Composer
On this page you can find all versions of the php package pmclain/module-one-click-checkout. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pmclain/module-one-click-checkout
More information about pmclain/module-one-click-checkout
Files in pmclain/module-one-click-checkout
Package module-one-click-checkout
Short Description One Click Checkout - Magento 2
License GPL-3.0
Informations about the package module-one-click-checkout
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 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
Add one click checkout option for logged in customers.
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
composer install pmclain/module-one-click-checkout:dev-master
bin/magento setup:upgrade
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
Compatible Payment Modules
- Magento_Braintree (included with Magento)
- Pmclain_Stripe
- Pmclain_AuthorizenetCim
Adding a new Vault Payment Provider
- 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
. -
Add the new VaultSource to the VaultPool in di.xml
- Update card renderer template via
Vendor/Module/view/frontend/layout/vault_cards_listaction.xml
Magento Version Requirements
Release | Magento Version |
---|---|
0.1.x | 2.2.x |
0.1.x | 2.1.x |
Nope | 2.0.x |
Screenshots
Order Button
Order Confirmation
Order Placement Error
Customer Card Management
Admin Configuration
License
GNU GENERAL PUBLIC LICENSE Version 3