tcgunel / omnipay-paytr
Omnipay extension for PayTR
v1.0.7
2022-06-14 11:22 UTC
Requires
- php: ^7.3|^8.0
- ext-json: *
- league/omnipay: ^3
Requires (Dev)
README
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.