Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yasinkuyu/omnipay-bkm
BKM Express gateway for Omnipay payment processing library
https://github.com/yasinkuyu/omnipay-bkm
Last synced: 7 days ago
JSON representation
BKM Express gateway for Omnipay payment processing library
- Host: GitHub
- URL: https://github.com/yasinkuyu/omnipay-bkm
- Owner: yasinkuyu
- License: mit
- Created: 2015-08-06T23:26:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-12T11:32:15.000Z (over 7 years ago)
- Last Synced: 2023-06-11T14:20:16.850Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 19.5 KB
- Stars: 12
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Omnipay: BKM Express (BETA)
**BKM Express gateway for Omnipay payment processing library**
[![Latest Stable Version](https://poser.pugx.org/yasinkuyu/omnipay-bkm/v/stable)](https://packagist.org/packages/yasinkuyu/omnipay-bkm)
[![Total Downloads](https://poser.pugx.org/yasinkuyu/omnipay-bkm/downloads)](https://packagist.org/packages/yasinkuyu/omnipay-bkm)
[![Latest Unstable Version](https://poser.pugx.org/yasinkuyu/omnipay-bkm/v/unstable)](https://packagist.org/packages/yasinkuyu/omnipay-bkm)
[![License](https://poser.pugx.org/yasinkuyu/omnipay-bkm/license)](https://packagist.org/packages/yasinkuyu/omnipay-bkm)[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment
processing library for PHP 5.3+. This package implements BKM Express (Turkish Payment Gateways) support for Omnipay.BKM Express sanal pos hizmeti için omnipay kütüphanesi.
## Installation
Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply add it
to your `composer.json` file:```json
{
"require": {
"yasinkuyu/omnipay-bkm": "~2.0"
}
}
```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:
* BKM Express
Gateway Methods
* purchase($options) - authorize and immediately capture an amount on the customer's card
* refund($options) - refund an already processed transactionFor general usage instructions, please see the main [Omnipay](https://github.com/thephpleague/omnipay)
repository.## Unit Tests
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.
## Sample App
setBank("akbank");
$gateway->setMid("7b928290-b6d2-469e-ac10-29eb36b8c1f6");
$gateway->setTestMode(TRUE);$response = $gateway->purchase([
'amount' => 10.00
]
)->send();if ($response->isSuccessful()) {
echo $response->getTransactionReference();
echo $response->getMessage();
}else{
echo $response->getError();
}// Debug
//var_dump($response);}
}
## NestPay (EST)
(İş Bankası, Akbank, Finansbank, Denizbank, Kuveytturk, Halkbank, Anadolubank, ING Bank, Citibank, Cardplus) gateway for Omnipay payment processing library
https://github.com/yasinkuyu/omnipay-nestpay## Iyzico
Iyzico gateway for Omnipay payment processing library
https://github.com/yasinkuyu/omnipay-iyzico## GVP (Granti Sanal Pos)
Gvp (Garanti, Denizbank, TEB, ING, Şekerbank, TFKB) gateway for Omnipay payment processing library
https://github.com/yasinkuyu/omnipay-gvp## Postnet
Posnet (Yapı Kredi, Vakıfbank, Anadolubank) gateway for Omnipay payment processing library
https://github.com/yasinkuyu/omnipay-posnet## Paratika
Paratika (Asseco) (Akbank, TEB, Halkbank, Finansbank, İş Bankası, Şekerbank, Vakıfbank ) gateway for Omnipay payment processing library
https://github.com/yasinkuyu/omnipay-paratika## Support
If you are having general issues with Omnipay, we suggest posting on
[Stack Overflow](http://stackoverflow.com/). Be sure to add the
[omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) 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](https://groups.google.com/forum/#!forum/omnipay) which
you can subscribe to.If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/yasinkuyu/omnipay-bkm/issues),
or better yet, fork the library and submit a pull request.