Closed jBangiev closed 9 years ago
whait is @hiddenSubmit in ogone_eu.tpl ?
Yes, we can call the hook Payment, but it contains extra callings of methods(like $this->display(FILE, 'ogone.tpl');). So i think we don't need make any changes in hookDisplayPaymentEU.
Eu_legal module use this token ( @hiddenSubmit ) for replacing with standart (for eu_legal) input on form. It adds hidden input.
$option['form'] = strreplace('@hiddenSubmit', "< input style='display:none' type='submit' id='submit$option_name'>", $option['form']);
Hi @jBangiev,
I know there is this this extra call like $this->display(FILE, 'ogone.tpl');
, but I guess that if take care to not return or show it, we won't have collision with eu-legal.
I've changed it
Hi @jBangiev and @alexsimple,
This PR has just been merged, thanks for your contribution.
Best regards
For this module, I can simply call the hook Payment in yours, because we need the assignments made inside, but we don't care about the return.