Download the PHP package silvercommerce/checkout without Composer
On this page you can find all versions of the php package silvercommerce/checkout. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download silvercommerce/checkout
More information about silvercommerce/checkout
Files in silvercommerce/checkout
Package checkout
Short Description Adds a 'checkout' to a SilverStripe site which links to an Estimate and adds the ability to setup and pay
License BSD-3-Clause
Homepage http://github.com/silvercommerce/checkout
Informations about the package checkout
SilverCommerce Checkout Module
Adds a checkout process, to allow users to pay for an Estimate using configured omnipay payment gateways.
Also allows you to overwrite the process so you can add more custom payment integration.
Install
Install this module using composer:
composer require silvercommerce/checkout
Usage
By default, this module works with silvercommerce/shoppingcart
out of the box. But it is fairly
simple to use it to create payment workflows for a custom estimate if required.
Paying for a custom estimate
If you want to create a payment flow for a custom estimate, you simply have to create the estimate, add some items, add it to the checkout and then redirect. This can be done with a simple bit of code.
The example below has a custom controller that creates an estimate from a pre-defined product and then redirects to the checkout:
All versions of checkout with dependencies
silverstripe/silverstripe-omnipay Version ~3.0
silvercommerce/settings Version ~1.0
silvercommerce/orders-admin Version ~1.0
silvercommerce/contact-admin Version ~1.0
silvercommerce/postage Version ~1.0