mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-31 23:20:43 +02:00
midtrans succes paid, but will be drop
This commit is contained in:
parent
dd46273a04
commit
71e8b8e22f
9 changed files with 147 additions and 119 deletions
28
system/controllers/callback.php
Normal file
28
system/controllers/callback.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||
**/
|
||||
_auth();
|
||||
$ui->assign('_system_menu', 'order');
|
||||
$action = $routes['1'];
|
||||
$user = User::_info();
|
||||
$ui->assign('_user', $user);
|
||||
|
||||
|
||||
require('system/autoload/Paymentgateway.php');
|
||||
require('system/autoload/Recharge.php');
|
||||
|
||||
switch ($action) {
|
||||
case 'xendit':
|
||||
echo "done";
|
||||
break;
|
||||
case 'midtrans':
|
||||
echo "done";
|
||||
break;
|
||||
case 'tripay':
|
||||
echo "done";
|
||||
break;
|
||||
default:
|
||||
echo "not found";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue