1. Go to this page and download the library: Download invays/bog-payments 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/ */
use Invays\BogPayments\BogPayments;
$bog = new BogPayments(0000, '000000');
$bog->refund->create_refund('order_id', 10.0);
use Invays\BogPayments\BogPayments;
// Use separate key for installment
$bog = new BogPayments(00000, '', 'installment');
$bog->installment->setButtonText('My custom text');
$bog->installment->setCallbackUrl('https://example.com/notify');
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.