41 lines
844 B
PHP
41 lines
844 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
// ENSURE THIS IS BEING INCLUDED IN AN SE SCRIPT
|
||
|
|
if(!defined('SE_PAGE')) { exit(); }
|
||
|
|
|
||
|
|
// INCLUDE SEMODS CLASS FILE
|
||
|
|
include_once "./include/class_semods.php";
|
||
|
|
include_once "./include/class_semods_utils.php";
|
||
|
|
|
||
|
|
// INCLUDE CLASS FILE
|
||
|
|
include_once "./include/class_payment.php";
|
||
|
|
include_once "./include/class_semods_cart.php";
|
||
|
|
|
||
|
|
// INCLUDE FUNCTIONS FILE
|
||
|
|
include_once "./include/functions_payment.php";
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
switch($page) {
|
||
|
|
|
||
|
|
// PAYMENTS DURING SIGNUP
|
||
|
|
case "signup":
|
||
|
|
// as a last step redirect to payment instead of displaying "thank you" page
|
||
|
|
//SE_Hook::register("se_footer", "payment_hook_signup_footer", -9999);
|
||
|
|
|
||
|
|
break;
|
||
|
|
|
||
|
|
|
||
|
|
// this makes sure if website if offline, payment notifications are still processed. TBD: is this trouble?
|
||
|
|
case "payment_notify":
|
||
|
|
|
||
|
|
// CHECK TO SEE IF SITE IS ONLINE OR NOT
|
||
|
|
|
||
|
|
break;
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
?>
|