This is an example web application built using the Silex micro-framework. It demonstrates using Omnipay to process payments using all supported payment gateways.
To run the example application, you must first install the development dependencies via composer.
From the root omnipay
directory, run:
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar update
You can the use the built in web server (PHP 5.4+) to start the application:
$ php -S localhost:8000
The application will now be available at http://localhost:8000/
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.
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.