1. Go to this page and download the library: Download tcgunel/omnipay-nestpay library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tcgunel / omnipay-nestpay example snippets
use Omnipay\Omnipay;
use Omnipay\Nestpay\Constants\Bank;
$gateway = Omnipay::create('Nestpay');
$gateway->setBank(Bank::AKBANK);
$gateway->setMerchantUser('your_api_user');
$gateway->setMerchantPassword('your_api_password');
$gateway->setMerchantId('your_client_id');
$gateway->setMerchantStorekey('your_store_key'); // Required for 3D Secure
$gateway->setTestMode(true); // Use test endpoints