Home

Awesome

Omnipay: Example Application

This is an example web application built using the Silex micro-framework. It demonstrates using Omnipay to process payments using all supported payment gateways.

Getting Started

To run the example application, you must first install the development dependencies via composer. From the root omnipay directory, run composer install.

Configuration

A few gateways are added by default. You can require the gateways you want to test with Composer, eg:

composer require omnipay/paypal

Then add the gateway to the gateways.php configuration file.

To test a gateway, you will need to have access to valid credentials. To obtain valid credentials, contact the payment gateway's support.

You can configure a gateways settings in the application. All data is stored using regular PHP sessions, so will not be persisted between sessions.

Support

If you are having general issues with Omnipay, we suggest posting on Stack Overflow. Be sure to add the omnipay tag so it can be easily found.

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a mailing list which you can subscribe to.

If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.