Subscription Custom Module (EXAMPLE)
| > Module written by Matt Mecham
| > Date started: 21th August 2003
|
| NEVER CALL EXIT IN THIS MODULE - IT MUST RETURN BACK TO
| IPB TO CONTINUE THE SUBSCRIPTION PROCESS OR IT WILL FAIL
+--------------------------------------------------------------------------
*/
//---------------------------------------
// Security check
//---------------------------------------
if ( ! defined( 'IN_IPB' ) )
{
print "
Incorrect access
You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
exit();
}
class customsubs {
//---------------------------------------
// Subscription Paid
//---------------------------------------
function subs_paid($sub_array, $member=array(), $trx_id="")
{
}
//---------------------------------------
// Subscription Failed / Cancelled
//---------------------------------------
function subs_failed($sub_array, $member=array(), $trx_id="")
{
}
}
?>