Re: Profile Actions Menu / Paid subscriptions
Reply #3 –
Yes, it can, it just have to load all the gateways every time...
The code looks something like this (personal random interpretation):
$gateways = findGateways('Gateway-*.class.php');
$available = array();
foreach ($gateways as $name)
{
require_once(SUBSDIR . '/' . $name . '.class.php');
$instance = new $name();
if ($instance->isSetup())
$available[] = $instance;
}
if (empty($available))
fatal_lang_error('no_gateways');
So it would mean add that processing to the profile menu.