I found that the
BillingBlock.tpl is included in
Main.tpl file and all the variables are assigned to this templates using
Main.php file. I can hardcode the variable there but I am worried about if there is another core update. So I am trying to override the
Main.php file from my custom extension but it's not happening.
My question is how do I override the
Main.php file in civicrm from custom extension ( custom payment processor ) or if there is other method built in civicrm with which I can pass variable to
P.S. I followed the same directory structure as of core.
customextension ├── CRM └── Contribute └── Form └── Contribution └── Main.php