'process-skip_first' => $conf->exists('selfservice_process-skip_first'),
'num_payments' => scalar($cust_main->cust_pay),
'surcharge_percentage' => scalar($conf->config('credit-card-surcharge-percentage', $cust_main->agentnum)),
+ 'surcharge_flatfee' => scalar($conf->config('credit-card-surcharge-flatfee', $cust_main->agentnum)),
);
@$argsref = ( %args );
return { 'error' => 'Illegal component' };
}
- my @args = $packet->{'args'} ? $packet->{'args'} : ();
+ my @args = $packet->{'args'} ? @{ $packet->{'args'} } : ();
if ( $session_comps{$comp} ) {