PHP code example of mdhesari / nasiba-laravel
1. Go to this page and download the library: Download mdhesari/nasiba-laravel 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/ */
mdhesari / nasiba-laravel example snippets
app('nasiba')->getPaymentToken([
'quantity' => $quantity,
'invoiceNumber' => $id,
'installmentsCount' => 1,
'maxCreditShare' => $max_credit_share,
'mobile' => $mobile,
'timestamp' => $timestamp = today()->format('Y-m-d').'T'.now()->format('h:i:s'),
]);