Download the PHP package webtoucher/omnipay-payonline without Composer
On this page you can find all versions of the php package webtoucher/omnipay-payonline. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download webtoucher/omnipay-payonline
More information about webtoucher/omnipay-payonline
Files in webtoucher/omnipay-payonline
Package omnipay-payonline
Short Description PayOnline driver for the Omnipay payment processing library
License BSD-3-Clause
Homepage https://github.com/webtoucher/omnipay-payonline
Informations about the package omnipay-payonline
Omnipay: PayOnline
PayOnline payment processing driver for the Omnipay PHP payment processing library.
Installation
The preferred way to install this library is through composer.
Either run
or add
to the section of your composer.json
file.
Configure your PayOnline MID
Ask PayOnline support for switching off ok/fail page if you need it. So you will be redirected to your return/fail URL immediately. Then check your MID settings:
- CallbackUrl method: POST
- Callback Url for approved transactions: https://your.domain.com/your-callback/?result=1
- Callback Url for declined transactions: https://your.domain.com/your-callback/?result=0
- Enable Callback on approved transactions: ON
- Enable Callback on declined transactions: ON
Usage
The following gateways are provided by this package:
- PayOnline
Then you should create payment url (for redirecting or using iframe).
Create controller's action for catching PayOnline callbacks. Remember that you must use the same action for successful/unsuccessful callbacks (POST-requests) and as return/fail URL (GET-requests). Check type of request to know what should you do.
Remember that PayOnline send rebill tokens for ssl-connection only. You can extract masked card number and token and save these into your system.
Use rebill request for recurring payments.
For general usage instructions, please see the main Omnipay repository.
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.