Skip to content

Example application for Omnipay PHP payments library

License

Notifications You must be signed in to change notification settings

D3R/omnipay-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

$ 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/

Configuration

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.

About

Example application for Omnipay PHP payments library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 59.3%
  • HTML 39.8%
  • ApacheConf 0.9%