Download the PHP package emre-tarhan/kuveytturk-vpos-laravel-sdk without Composer

On this page you can find all versions of the php package emre-tarhan/kuveytturk-vpos-laravel-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package kuveytturk-vpos-laravel-sdk

Kuveyt Turk Sanal POS Laravel SDK

Latest Version PHP License

Kuveyt Turk Sanal POS entegrasyonu icin kapsamli Laravel SDK. Tam 3D Secure 2.0 destegi.

Ozellikler

Gereksinimler

Kurulum

Ayarlari Yayinlama

Veya kurulum komutunu kullanin:

Bu islem ayar dosyasini config/kuveytturk-vpos.php konumuna yayinlayacaktir.

Yapilandirma

Kuveyt Turk kimlik bilgilerinizi .env dosyasina ekleyin:

Veya config/kuveytturk-vpos.php dosyasindan yapilandirin:

Kullanim

Temel Satis (Tam 3D Akis)

Iki Asamali Odeme (Manuel Kontrol)

Odeme akisi uzerinde daha fazla kontrole ihtiyaciniz varsa:

Asama 1: Kart Dogrulama

Asama 2: Provizyon (Odeme Tamamlama)

Islem Iptali (Ayni Gun)

Iade (Gun Sonu Sonrasi)

Kismi Iade

Gercek Entegrasyon Ornegi (3D Secure Akisi)

Asagida produksiyon ortaminda kullanilan, tam 3D Secure odeme akisi ornegi bulunmaktadir. Bu akis 5 asamadan olusur: odeme baslatma, bankaya yonlendirme, callback karsilama, provizyon tamamlama ve siparisi sonuclandirma.

Asama 1: Servis Konteynerine Kayit

Asama 2: Odeme Baslatma (Controller)

Kart dogrulama islemi bankadan HTML dondurur. Bu HTML'i tarayicida render etmeniz gerekir — otomatik olarak bankanin 3D Secure sayfasina yonlendiren bir form icerir.

Asama 3: 3D Secure Sayfasini Render Etme (Frontend)

Bankanin HTML'i otomatik gonderilen bir form icerir. Gizli bir div'de gosterip otomatik gonderin:

Asama 4: Banka Callback'inin Karsilanmasi (CSRF/Session Middleware Haric)

Onemli: Banka callback URL'lerinize cross-site POST gonderir. Bu route'lar middleware gruplarinin disinda olmalidir (CSRF ve session yok):

Asama 5: Provizyon (Odeme Tamamlama)

CSP Basliklari (Gerekli)

3D Secure yonlendirme formunun engellenmemesi icin Kuveyt Turk domainlerini Content Security Policy'nize ekleyin:

Yanit Nesneleri

SaleResponse

Ozellik Aciklama
isSuccessful() Boolean — islem onaylandiysa true
responseCode Kuveyt Turk yanit kodu ("00" = basarili)
responseMessage Okunabilir yanit mesaji
orderId Banka siparis numarasi
provisionNumber Provizyon numarasi
rrn Referans numarasi
stan Sistem iz numarasi
transactionTime Islem zaman damgasi
merchantOrderId Sizin siparis numaraniz
md 3D Secure MD degeri

Hata Yonetimi

Hata Kodlari

Kod Aciklama
00 Otorizasyon verildi / Islem basarili
01 Gecersiz kart numarasi
05 Yetersiz bakiye
12 Gecersiz uye isyeri
14 Gecersiz islem / CVV
17 Kart limiti asildi
54 Kart suresi dolmus
59 Sahtekarlik suphesi
70 Mukerrer siparis
91 Zaman asimi
96 Sistem hatasi
99 Hashdata uyusmazligi

Tutar Formatı

Tum tutarlar gercek deger olarak belirtilmelidir (ornegin 100.50 = 100 TL 50 kurus).

SDK bankanin formatina otomatik donusturur (tutar x 100, ornegin 100.50 TL = 10050).

Test Ortami

Sandbox testleri icin asagidaki test kartini kullanin:

Alan Deger
Kart Numarasi 5188 9619 3919 2544
CVV 929
Son Kullanma 06/25
3D Sifre 123456

Test Endpoint'leri:

Produksiyon Endpoint'leri:

Test Calistirma

Katkida Bulunma

Katkilar memnuniyetle karsilanir! Lutfen bir Pull Request gonderin.

Lisans

MIT Lisansi. Detaylar icin LICENSE dosyasina bakin.

Destek

Sorular ve sorunlar icin lutfen GitHub'da issue acin: https://github.com/emre-tarhan/kuveytturk-vpos-laravel-sdk


All versions of kuveytturk-vpos-laravel-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2|^8.3|^8.4
illuminate/support Version ^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package emre-tarhan/kuveytturk-vpos-laravel-sdk contains the following files

Loading the files please wait ...