Download the PHP package xola/omnipay-bundle without Composer
On this page you can find all versions of the php package xola/omnipay-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xola/omnipay-bundle
More information about xola/omnipay-bundle
Files in xola/omnipay-bundle
Package omnipay-bundle
Short Description Integrates Omnipay 3 with Symfony 2+
License MIT
Homepage https://github.com/xola/OmnipayBundle
Informations about the package omnipay-bundle
Xola OmnipayBundle 
This bundle integrates the Omnipay payment processing library into Symfony2.
This bundle supports Omnipay 3
Installation
To install via Composer, add the following to your composer.json
file:
Add the bundle to your application kernel.
Configuration
(Optional) In the Omnipay library, you would programmatically set parameters required by a gateway. With this bundle, it's possible to configure these parameters in your Symfony config files.
In the sample configuration above, my_custom_key
is a unique key you define for each of your gateways.
omnipay.my_custom_name.gateway
is the class name for a Omnipay gateway driver (e.g. Stripe
). You may choose to define
multiple keys for the same Omnipay gateway with different credentials. In the above configuration, we have configured
two gateway definitions for Stripe -- both use the Stripe Omnipay driver, however, they each use a different set of
credentials.
Usage
Use the new omnipay
service to create gateway object:
The rest is identical to how you would normally use Omnipay
The gateway classes which are returned are already initialized with the parameters defined in the config files.
All versions of omnipay-bundle with dependencies
symfony/framework-bundle Version >=2.1 <4.0
league/omnipay Version ^3.0
php-http/logger-plugin Version ^1.1