<?php

date_default_timezone_set('Asia/Makassar');

$servername = "localhost";
$username = "bangalmy_tripay_payment_gateway";
$password = "89^E6Ha5rHhU"; 
$database = "bangalmy_tripay_payment_gateway";

$db = new mysqli($servername, $username, $password, $database);

if ($db->connect_error) {
    die("Koneksi database gagal: " . $db->connect_error);
}

//===============Payment metod==================

//ENDPOINT sandbox
//Sandbox URL 	https://tripay.co.id/api-sandbox/transaction/create
// $Endpoint     = 'https://tripay.co.id/api-sandbox/transaction/create'; 
// $apiKey       = 'DEV-U030UvOLkJKoNF6tpieRjZfa65Std4fksJSXsvIa';
// $privateKey   = '7KFvx-e5cLt-v545A-BXnZd-H65zZ';
// $merchantCode = 'T32842';

//ENDPOINT transaction real
//Production URL 	https://tripay.co.id/api/transaction/create
$Endpoint     = 'https://tripay.co.id/api/transaction/create'; 
$apiKey       = 'vbn0blv2iTpBhiswjaGq39w9yrdO2bLuUy1RJvLF';
$privateKey   = 'BtS9c-S3XMp-OM3Aj-oj10E-NSUqp';
$merchantCode = 'T32319';

$dns = 'wifi.konut';
$user_mikrotik = "risdian";
$password_mikrotik = "molawe123";
$ip_mikrotik = "al-it.my.id";
$mikrotik_port = "2009";
// $mikrotik_port = "1000";

?>
