Download the PHP package digitickets/omnipay-global-payments without Composer
On this page you can find all versions of the php package digitickets/omnipay-global-payments. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download digitickets/omnipay-global-payments
More information about digitickets/omnipay-global-payments
Files in digitickets/omnipay-global-payments
Package omnipay-global-payments
Short Description Custom OmniPay driver for Global Payments
License
Homepage https://github.com/digitickets/omnipay-global-payments
Informations about the package omnipay-global-payments
Omnipay: GlobalPayments
GlobalPayments driver for the Omnipay PHP payment library
Omnipay is a framework agnostic, multi-gateway payment processing library for PHP 5.3+.
This package implements only GlobalPayments support for Omnipay 2.x Off-sites, where the customer is redirected to enter payment details (aka HPP - Hosted Payment Page).
It implements the "ecommerce" version of their integration: https://developer.globalpay.com/ecommerce/payments-start
For refunds, their ecommerce API is used, via the SDK: https://github.com/globalpayments/php-sdk
For Apple Pay, please pass in a "applePayToken" to the purchase() function: https://developer.globalpay.com/ecommerce/applepay#api
Installation
This package 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
Basic Usage
The following gateways are provided by this package:
- GlobalPayments
For general usage instructions, please see the main Omnipay repository.
For the refund() function, please pass in a refundPassword. Also make sure you are setting originalTransactionId, transactionRef, and authCode.
This is a sample code of standard Off-site controller using the driver.
Request a payment
Process payment result
All versions of omnipay-global-payments with dependencies
omnipay/common Version ~2.0
league/iso3166 Version ^2.1
giggsey/libphonenumber-for-php Version 8.13.*
globalpayments/php-sdk Version ^3.1