tcgunel/omnipay-paytr

Omnipay extension for PayTR

v1.0.8 2024-12-18 10:20 UTC

This package is auto-updated.

Last update: 2024-12-18 10:21:05 UTC


README

License Buy us a tree PHP Composer

Omnipay Paytr Gateway

Omnipay gateway for Paytr - Direct API. All the methods of Paytr implemented for easy usage.

Requirements

Installment

composer require tcgunel/omnipay-paytr

Usage

Please see the Wiki page for detailed usage of every method.

Methods

Payment Services

  • binLookup($options)
  • purchase($options) // Purchase with 3D, without 3D, store user card with payment, purchase with stored cards.
  • completePurchase($options) // Complete purchase.
  • paymentInquiry($options) // Inquire payment.
  • refund($options)

Wallet Services

  • listCard($options)
  • deleteCard($options)

Other Services

  • installmentRates($options) // Available installment rates for your Paytr account.

Tests

composer test

For windows:

vendor\bin\paratest.bat

Treeware

This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.