digitickets / omnipay-optomany-checkout
Optomany Checkout driver for the Omnipay payment processing library
Installs: 14 781
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: ^7
- dna/dnapayments-sdk-php: ^1.1.4
- guzzlehttp/guzzle: ^6.2
- omnipay/common: ^2.0
Requires (Dev)
- mockery/mockery: ~0.8
- omnipay/tests: ^2.0
README
Redirect gateway driver for Optomany's Checkout hosted service
Omnipay implementation of Optomany's Checkout hosted gateway.
See Optomany's Checkout documentation for more details.
Also Checkout PHP SDK Integration Guide for php integration
Installation
This driver is installed via Composer. To install, simply add it to your composer.json
file:
{ "require": { "digitickets/omnipay-optomany-checkout": "^1.0" } }
And run composer to update your dependencies:
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update
What's Included
This driver allows you to redirect the user to an Optomany Checkout page, after passing in customer details from your own forms and a redirect URL. Once the user has paid they will be redirected back to your redirect page. You can then await the webhook that confirms the payment.
It also supports refunds of partial and full amounts. The documentation says only one refund can be made against the transaction ID, but in testing multiple partial refunds seem to go through fine.
It requires use of 3DSecure v2.
What's Not Included
This driver does not support subscriptions (repeat payments).
Basic Usage
For general Omnipay usage instructions, please see the main Omnipay repository.
Required Parameters
You must pass the following parameters into the driver when calling purchase()
, refund()
or acceptNotification()
:
clientId: Given to you when signing up with Optomany
clientSecret: Given to you when signing up with Optomany
terminal: Given to you when signing up with Optomany
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 believe you have found a bug in this driver, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.