| Server IP : 172.64.80.1 / Your IP : 172.70.131.126 Web Server : Apache System : Linux mail.federalpolyede.edu.ng 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64 User : federalpolyede.edu.ng_idh35skikv ( 10000) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/federalpolyede.edu.ng/httpdocs_backup/ace_entranceForm/ |
Upload File : |
<?php
/**
* Created by PhpStorm.
* User: aspoa
* Date: 01/29/2019
* Time: 11:20 AM
*/
//
$id=$_SESSION['sn'];
$pt=$_POST['pt'];
if ($_POST['pt']){
$descr =$_SESSION['paymentType']= $pt;
}else{
// if($_GET[])
}
$terminalId="";
if ($terminalId == null) $terminalId = "0000000001";
$success ="";
//$amount = $_POST['amt'];
if ($pt=='School Fees'){
$orderID=$_SESSION['orderID']="sf-ACE19".$id.mt_rand(1000, 9999);
$merchant_id= "700602X2YL";
// $terminalId="7007139452";
$terminalId = "0000000001";
// $secret_key="0kEwtlLUSUWuwrvu";
$secret_key="DEMO_KEY";
}else{
$orderID=$_SESSION['orderID']="ap-ACE19".$id.mt_rand(1000, 9999);
$merchant_id= "700602X2YK";
$terminalId = "0000000001";
// $terminalId="7007139451";
// $secret_key="E7dt106cUsNY6UeS";
$secret_key="DEMO_KEY";
}
//$terminalId = "0000000001";
//$secret_key="DEMO_KEY";
$channel=$_SESSION['medium'];
if ($channel=='ATM Card'){
$responseurl = "https://www.federalpolyede.edu.ng/ace_admin_student/response.php";
$notification = "https://www.federalpolyede.edu.ng/ace_admin_student/response.php";
}else{
$responseurl = "https://www.federalpolyede.edu.ng/ace_entranceForm/responseBankIT.php";
$notification = "https://www.federalpolyede.edu.ng/ace_entranceForm/responseBankIT.php";
// $responseurl = "responseBankIT.php";
// $notification = "responseBankIT.php";
}
//die($responseurl);
?>