I wanna add custom Sub method
PHP Code:
<?php
class vB_PaidSubscriptionMethod_custom extends vB_PaidSubscriptionMethod
{
function generate_form_html($hash, $cost, $currency, $subinfo, $userinfo, $timeinfo)
{
$form['action'] = 'customURL';
$form['method'] = 'get';
return $form;
}
}
?>
But with this code i have error
Fatal error: Class 'vB_PaidSubscriptionMethod' not found in /home/*/*/www/includes/paymentapi/class_custom.php on line 4
I need redirect to custom page after pressing Order Using
How i can do that ?