Download the PHP package tcgunel/omnipay-nestpay without Composer
On this page you can find all versions of the php package tcgunel/omnipay-nestpay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tcgunel/omnipay-nestpay
More information about tcgunel/omnipay-nestpay
Files in tcgunel/omnipay-nestpay
Package omnipay-nestpay
Short Description Omnipay extension for NestPay (Asseco) - Supports 12 Turkish banks
License MIT
Homepage https://github.com/tcgunel/omnipay-nestpay
Informations about the package omnipay-nestpay
Omnipay: NestPay (Asseco)
NestPay (Asseco) gateway for the Omnipay PHP payment processing library
Omnipay is a framework agnostic, multi-gateway payment processing library for PHP. This package implements NestPay (Asseco) support for Omnipay.
Supported Banks
NestPay is used by 12 Turkish banks sharing the same XML-over-HTTP protocol with different endpoint URLs:
| Bank | Constant |
|---|---|
| Akbank | Bank::AKBANK |
| Alternatif Bank | Bank::ALTERNATIFBANK |
| Anadolu Bank | Bank::ANADOLUBANK |
| CardPlus | Bank::CARDPLUS |
| Halkbank | Bank::HALKBANK |
| ING Bank | Bank::INGBANK |
| Is Bankasi | Bank::ISBANKASI |
| Finansbank | Bank::FINANSBANK |
| Sekerbank | Bank::SEKERBANK |
| TEB | Bank::TEB |
| Turkiye Finans | Bank::TURKIYEFINANS |
| Ziraat Bankasi | Bank::ZIRAATBANKASI |
Installation
Available Methods
| Method | Description |
|---|---|
purchase() |
Direct (non-3D) sale or 3D Secure redirect |
completePurchase() |
Complete 3D Secure payment after bank callback |
void() |
Cancel/void a transaction |
refund() |
Refund a transaction (full or partial) |
fetchTransaction() |
Query order status |
Usage
Gateway Initialization
Non-3D Purchase (Direct Sale)
3D Secure Purchase
Complete 3D Secure Purchase (Callback Handler)
After the bank redirects back to your returnUrl:
Void (Cancel)
Refund
Fetch Transaction (Order Status Query)
Test Credentials
The Asseco test platform is shared by all banks:
| Setting | Value |
|---|---|
| Test API URL | https://entegrasyon.asseco-see.com.tr/fim/api |
| Test 3D URL | https://entegrasyon.asseco-see.com.tr/fim/est3Dgate |
| Test Panel | https://entegrasyon.asseco-see.com.tr/{bank}/report/user.login |
Banks with custom test endpoints:
- Is Bankasi:
https://istest.asseco-see.com.tr/fim/api - Ziraat Bankasi:
https://torus-stage-ziraat.asseco-see.com.tr/fim/api
Test card numbers and credentials are provided through the Asseco test panel for your merchant account.
Running Tests
Static Analysis
Code Style
License
MIT License. See LICENSE for details.