Download the PHP package dipnot/ptt-akilliesnaf-php without Composer
On this page you can find all versions of the php package dipnot/ptt-akilliesnaf-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dipnot/ptt-akilliesnaf-php
More information about dipnot/ptt-akilliesnaf-php
Files in dipnot/ptt-akilliesnaf-php
Package ptt-akilliesnaf-php
Short Description Unofficial PHP wrapper for PTT Akıllı Esnaf API
License MIT
Homepage https://www.dipnot.com.tr/
Informations about the package ptt-akilliesnaf-php
PTT Akıllı Esnaf API Wrapper for PHP
Unofficial PHP wrapper for PTT Akıllı Esnaf API
We got a lot of help from the sample codes.
Only covers threeDSecure (Ortak Ödeme Sayfası) and inquiry (Ödeme Sorgulama)
threeDPayment (3D ile Ödeme), void (İptal), refund (İade) or history (İşlem Listeleme) are not our goal currently. We would be happy to see your contributions!
Dependencies
- PHP 5.6.36 or higher
- ext-curl
- ext-json
Installation
You can install via Composer.
composer require dipnot/ptt-akilliesnaf-php
Usage
You can see the full example in examples folder.
Config
All request are needs a Config.
Making a threeDPayment request
Making an inquiry request
Test cards
While developing the package, the test cards in the official documentation were not working. So we contacted the authorities and got the following values for testing.
| Value | |
|---|---|
| Card holder | Fill randomly |
| Card number | 4159560047417732 |
| Card expiry date (Month/Year) | 08/24 |
| Card CVV | 123 |
| 3D Secure code | You can get it under the countdown timer on the 3D Secure page |
License
All versions of ptt-akilliesnaf-php with dependencies
ext-curl Version *
ext-json Version *