Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.135.185.78
<?php
if($_REQUEST['a'] == "getPaymentTypes"){
include 'database.php';
include("commandb.php");
$paytype = array();
$paymentType = array();
$getPaymentTypes = "select funivcode,fbank,fbankname,fbanklog,fmid,fkey,fworkingid,freturnurl,ifnull(fbankcharge,'') as fbankcharge
from maspg
where funivcode='{$_SESSION['UNIVCODE']}'
order by forder ";//fmode='PROD' and
$lobj_payment_type = $conndb->query($getPaymentTypes);
while($row = mysqli_fetch_assoc($lobj_payment_type)){
$paytype['payment_type'] = $row['fbank'];
$paytype['bank_name'] = $row['fbankname'];
$paytype['logo'] = $row['fbanklog'];
$paytype['fmid'] = $row['fmid'];
$paytype['charges'] = $row['fbankcharge'];
array_push($paymentType,$paytype);
}
$arr=new \stdClass();
$arr->error_code = 0;
$arr->paytype = $paymentType;
$arr->status = 'Success';
echo json_encode($arr);
}
?>
|