PDA

View Full Version : [NeedHELP]Custom Subscription Payment Method


ReddeR1337
09-19-2016, 04:39 PM
I wanna add custom Sub method

<?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

https://vborg.vbsupport.ru/external/2016/09/6.png

How i can do that ?

ReddeR1337
09-26-2016, 11:50 AM
Any help please

ReddeR1337
10-10-2016, 11:23 AM
Help please