2022-09-10 13:17:38 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
2022-10-16 15:48:21 +08:00
|
|
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpnuxbill/)
|
2022-09-10 13:17:38 +08:00
|
|
|
**/
|
2022-09-17 22:05:24 +08:00
|
|
|
|
2022-09-10 13:17:38 +08:00
|
|
|
$action = $routes['1'];
|
|
|
|
|
|
|
|
|
2022-09-17 22:05:24 +08:00
|
|
|
if(file_exists('system/paymentgateway/'.$action.'.php')){
|
|
|
|
include 'system/paymentgateway/'.$action.'.php';
|
|
|
|
if(function_exists($action.'_payment_notification')){
|
2022-09-18 01:00:40 +08:00
|
|
|
run_hook('callback_payment_notification'); #HOOK
|
2022-09-17 22:05:24 +08:00
|
|
|
call_user_func($action.'_payment_notification');
|
|
|
|
die();
|
|
|
|
}
|
|
|
|
}
|
2022-09-10 13:17:38 +08:00
|
|
|
|
2022-09-17 22:05:24 +08:00
|
|
|
header('HTTP/1.1 404 Not Found');
|
|
|
|
echo 'Not Found';
|