kaankilic/omnipay-iyzico
Composer 安装命令:
composer require kaankilic/omnipay-iyzico
包简介
Iyzico gateway for the Omnipay payment processing library
README 文档
README
Iyzico driver for the Omnipay payment processing library
Introduction
omnipay-iyzico provides an expressive and fluent way to use iyzico with omnipay framework agnostic, multi-gateway payment processing.
License
Laravel omnipay-iyzico is open-sourced software licensed under the MIT
Installation
To get started with omnipay-iyzico, use Composer to add the package to your project's dependencies:
composer require kaankilic/omnipay-iyzico
For general usage instructions, please see the main Omnipay repository.
Basic Usage
$gateway = Omnipay::create('Iyzico'); $formInputData = array( 'name' => 'Bobby', 'lastname' => 'Tables', 'number' => '4131111111111117', 'expiryMonth' => '08', 'expiryYear' => '2023', 'cvv' => '001', 'billingCity' => 'Amsterdam', 'billingAddress1' => 'test address', 'billingCountry' => 'Nederlands', 'email' => 'bl4cksta@gmail.com', 'postCode' => 'NL11100' ); $card = new CreditCard($formInputData); $request = $gateway->authorize(['identityNumber'=>'IDENTITY_NUMBER','callbackUrl' => 'https://pos.app/']); $request->setCard($card); $request->setApiKey('sandbox-API-KEY'); $request->setSecretKey('sandbox-SECRET-KEY'); $basket = new \Omnipay\Common\ItemBag(); $item = new \Omnipay\Common\Item(['name' => 'item name 1', 'price'=> '40.00']); $basket->add($item); $request->setItems($basket); $response = $request->send(); if($response->isSuccessful()){ ... }
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.
Contributions
I am the creator and single contributor of the project. So, Feel free to contribute something useful. Please use Github for reporting bugs, and making comments or suggestions
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-29