PHP code example of onlinecheckwriter / quickpay
1. Go to this page and download the library: Download onlinecheckwriter/quickpay 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/ */
onlinecheckwriter / quickpay example snippets
// setToken
// setEnviorment : SANDBOX
use onlinecheckwriter\Quickpay\Index;
$ocw = (new Index());
$ocw->setToken("G5LoP94QISpOvk6i072yXDFBPwSjRS01foqlYPdVdYJ7li2NRkvzuHvYIzif")
$ocw->setEnviorment("SANDBOX");
// setToken
// setEnviorment : LIVE
use onlinecheckwriter\Quickpay\Index;
$ocw = (new Index());
$ocw->setToken("YOUR API TOKEN")
$ocw->setEnviorment("LIVE");
bash
// Install Composer
curl -sS https://getcomposer.org/installer | php
// Add onlinecheckwriter.com PHP client as a dependency
composer