Download the PHP package andreas22/omnipay-fasapay without Composer
On this page you can find all versions of the php package andreas22/omnipay-fasapay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package omnipay-fasapay
Omnipay: Fasapay
Fasapay driver for the Omnipay PHP payment processing library
Omnipay is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements Fasapay support for Omnipay.
Installation
Omnipay is installed via Composer. To install, simply add it
to your composer.json
file:
And run composer to update your dependencies:
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update
F.a.q
-
What gateways are provided by this package
Fasapay
-
How fasapay works?
A client fills the form on your side and then submits the form. Then the client will be redirected to Fasapay checkout page to complete the payment. Once the payment has been completed the client has the option to return back to your website and at the same time a callback is send from Fasapay to your notify url.
-
What are simple and advance modes?
Fasapay supports 2 modes, simple mode where you need to provide all the information like urls and advance mode where you need to setup a store first in which you will specify success, fail, status url and a secret key for verifying the callback origin for security reasons.
For general usage instructions, please see the main Omnipay repository.
Sample Codes
Purchase Request (Simple Mode)
Create a file to handle the client purchase request form data called purchase-form.php and copy/paste the below code.
Purchase Callback (Simple Mode)
Create a file that will handle the (notifyUrl) callback from Fasapay called callback.php and copy/paste the below code.
Purchase Request (Advance Mode)
For advance mode you need to setup a store in Fasapay first!
Fasapay sandbox back office url: http://sandbox.fasapay.com/register/create
Create a file to handle the client purchase request form data called form.php and copy/paste the below code.
Purchase Callback (Advance Mode)
The secret key specified during the store creation is required!
Create a file that will handle the (notifyUrl) callback from Fasapay called callback.php and copy/paste the below code.
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.