sarsam / omnipay-acba
Acba gateway for Omnipay payment processing library
Requires
- omnipay/common: ^3
Requires (Dev)
- omnipay/tests: ^3
This package is auto-updated.
Last update: 2025-04-16 01:03:52 UTC
README
Acba bank driver for the Omnipay Laravel payment processing library
Omnipay is a framework agnostic, multi-gateway payment processing library for PHP 5.5+. This package implements Acba support for Omnipay.
Installation
Omnipay is installed via Composer. To install, simply add it
to your composer.json
file:
{ "require": { "sarsam/omnipay-acba": "dev-master" } }
And run composer to update your dependencies:
composer update
Or you can simply run
composer require sarsam/omnipay-acba
Basic Usage
- Use Omnipay gateway class:
use Omnipay\Omnipay;
- Initialize ACBA gateway:
$gateway = Omnipay::create('Acba'); $gateway->setUserName(env('username')); $gateway->setPassword(env('password')); $gateway->setLanguage('lang'); // Language $gateway->setReturnUrl('url'); // request return URL $gateway->setAmount(10); // Amount to charge $gateway->setTransactionId(XXXX); // Transaction ID from your system
- Call purchase, it will automatically redirect to acba's hosted page
$purchase = $gateway->purchase()->send(); $purchase->redirect();
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, or better yet, fork the library and submit a pull request.