Skip to content

yasinkuyu/omnipay-iyzico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Omnipay: Iyzico

Iyzico gateway for Omnipay payment processing library

Latest Stable Version Total Downloads Latest Unstable Version License

Omnipay is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements Iyzico (Turkish Payment Gateways) support for Omnipay.

Readme TR

Iyzico v3 (3D Secure) sanal pos hizmeti için omnipay kütüphanesi.

Test ortamım için https://sandbox-merchant.iyzipay.com/auth adresinden kayıt olup hemen sonrasında(mail onaysız) login olabilirsiniz.

Login olduktan sonra karşınıza çıkan “Cep Telefonu Doğrulama” ekranına sms kodu olarak “123456" yazıp giriş sağlayabilirsiniz. Ayarlar sayfasından api anahtarları bölümünden API anahtarı ve güvenlik anahtarı bilgilerine erişebiliyorsunuz.

Sandbox/test base url https://sandbox-api.iyzipay.com/ set edildiğinde githubdaki clientlarımız Test kartları https://dev.iyzipay.com/tr/test-kartlari

Ay ve yıl olarak herhangi bir ileri değer verebilirsiniz. Cvv içinde aynı şekilde 3 haneli random bir değer verebilirsiniz. 3D secure şifresi : 283126

Installation

composer require league/omnipay iyzico/iyzipay-php yasinkuyu/omnipay-iyzico

Omnipay is installed via Composer. To install, simply add it to your composer.json file:

{
    "require": {
        "iyzico/iyzipay-php": "^2.0",
        "yasinkuyu/omnipay-iyzico": "^3.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:

  • Iyzico v3

Gateway Methods

  • purchase($options) - authorize and immediately capture an amount on the customer's card

  • refund($options) - refund an already processed transaction

  • checkout($options) - iyzico host payment method

  • checkout_status($options) - iyzico host payment method status

For general usage instructions, please see the main 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.

Requirements

composer require iyzico/iyzipay-php

To use the bindings, use Composer's autoload:

require_once('vendor/autoload.php');

Composer dependencies require a PHP version ">= 8.1.0"

Sample App

purchase.php
refund.php
void.php

checkout.php (iyzico host)

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.

About

Iyzico gateway for Omnipay payment processing library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages