change to pg- and add duitku

This commit is contained in:
Ibnu Maksum
2022-09-14 15:58:12 +07:00
parent 48350941e9
commit 8a8c7f897f
14 changed files with 300 additions and 107 deletions

View File

@ -24,7 +24,7 @@ class PGTripay
return hash_hmac('sha256', $_c['tripay_merchant'] . $this->trx['id'] . $this->trx['price'], $_c['tripay_secret_key']);
}
function createTransaction($channel) //$trxID, $channel, $amount, $user, $description)
function createTransaction($channel)
{
global $_c;
$json = [