Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

35 lines (26 sloc) 666 Bytes
<?php
/*
* Created by tpay.com
*/
namespace tpayLibs\examples;
use tpayLibs\src\_class_tpay\PaymentForms\PaymentBasicForms;
include_once 'config.php';
include_once 'loader.php';
class BankSelectionAPIExample extends PaymentBasicForms
{
public function __construct()
{
$this->merchantSecret = 'demo';
$this->merchantId = 1010;
parent::__construct();
}
/*
*Get bank selection by sending data array
*/
public function getBankForm()
{
$form = $this->getBankSelectionForm([], false, true, 'TransactionApiExample.php');
echo $form;
}
}
(new BankSelectionAPIExample())->getBankForm();
You can’t perform that action at this time.