1. Go to this page and download the library: Download chriswest101/paynow 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/ */
chriswest101 / paynow example snippets
use Chriswest101\Paynow\Facades\Paynow;
Paynow::generateDynamic(
100.00,
false,
"O123456",
(new DateTime())->modify("+ 1 hour"),
"Clothing Company Pte Ltd",
"SG",
"Singapore",
"2020111104G",
null,
true
);
Paynow::generateDynamic(
100.00,
false,
"O123456",
(new DateTime())->modify("+ 1 hour"),
"Clothing Company Pte Ltd",
"SG",
"Singapore",
"2020111104G",
null,
false
);