PHPackages                             oytunyuksel/omnipay-iyzico - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. oytunyuksel/omnipay-iyzico

ActiveLibrary[Payment Processing](/categories/payments)

oytunyuksel/omnipay-iyzico
==========================

Iyzico gateway for Omnipay payment processing library

v0.0.24(4y ago)014MITPHP

Since Jun 8Pushed 4y agoCompare

[ Source](https://github.com/oytunyuksel/omnipay-iyzico)[ Packagist](https://packagist.org/packages/oytunyuksel/omnipay-iyzico)[ Docs](https://github.com/alegraio/omnipay-iyzico)[ RSS](/packages/oytunyuksel-omnipay-iyzico/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (26)Used By (0)

omnipay-iyzico
==============

[](#omnipay-iyzico)

[![Build Status](https://github.com/alegraio/omnipay-iyzico/workflows/tests/badge.svg)](https://github.com/alegraio/omnipay-iyzico/actions)[![Total Downloads](https://camo.githubusercontent.com/10a2e9e85054d92fd4864aded70208398f3cfb78893d5f058440b01d6d953f50/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c656772612f6f6d6e697061792d69797a69636f)](https://packagist.org/packages/alegra/omnipay-iyzico)[![Latest Stable Version](https://camo.githubusercontent.com/7b82c9d2c1927d9fd13b36346cc08fc9480ee42bf52e403db75097b4557a0be0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c656772612f6f6d6e697061792d69797a69636f)](https://packagist.org/packages/alegra/omnipay-iyzico)[![License](https://camo.githubusercontent.com/3cbbf0f577120ad2a6ad9cc5ee87b1987e601800311df29eb70aeed7613f3844/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f616c656772612f6f6d6e697061792d69797a69636f)](https://packagist.org/packages/alegra/omnipay-iyzico)

Iyzico gateway for Omnipay V3 payment processing library

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 7.3+. This package implements Iyzico Online Payment Gateway support for Omnipay.

Iyzico API [documentation](https://dev.iyzipay.com/en)

Requirement
-----------

[](#requirement)

- PHP &gt;= 7.3.x,
- [Omnipay V.3](https://github.com/thephpleague/omnipay) repository,
- PHPUnit to run tests

Autoload
--------

[](#autoload)

You have to install omnipay V.3

```
composer require league/omnipay:^3
```

Then you have to install omnipay-payu package:

```
composer require alegra/omnipay-iyzico
```

> `payment-iyzico` follows the PSR-4 convention names for its classes, which means you can easily integrate `payment-iyzico` classes loading in your own autoloader.

Basic Usage
-----------

[](#basic-usage)

- You can use /examples folder to execute examples. This folder is exists here only to show you examples, it is not for production usage.
- First in /examples folder:

```
composer install
```

**Purchase Example**

- You can check purchase.php file in /examples folder.
- force3ds parameter is included in the parameters. It shows the status of card. If you test direct purchase, you should send 0 value. It's type is string. If you don't send this force3ds parameter, system check status of card. System uses iyzico-installmentInfo function.

```
