PHP code example of lightvoldemar / kassanova-bank-api
1. Go to this page and download the library: Download lightvoldemar/kassanova-bank-api 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/ */
lightvoldemar / kassanova-bank-api example snippets
$client = new KassanovaClient();
$client->setLang('ru');
$client->setCurrency('KZT');
$client->apiLogin = 'login';
$client->apiPassword = 'pass';
$client->returnUrl = 'success_url';
$client->failUrl = 'fail_url';
$client->pay($amount,$orderId);