Hi,
If you're not calling the parent functions in order to initialize the variables ; you won't have access to elements likes "$this->payment_params" or "$this->app".
Unfortunately, without knowing the code you wrote ; we are not able to gave you more hint on it.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.