Anyone knows why this happens?Fatal error: Call to undefined method ControllerPaymentSecureTradingPp::render() in /home/test/admin/controller/payment/securetrading_pp.php on line 340
I enabled Secure Trading Payment Pages payment plugin on my OC 2.1.0.1 and set it up like provider requested and I made order of some item in my shop, made test payment and now when I go to view order (in administration) I get white page with this error:
While I am searching for solution I noticed this could be because that line is used for 1.5* not for 2.* - if that is true, why is than included in opencart-2.1.0.1 installation files (I downloaded and checked if there is the same and it is).
Well for now I "solved" this by changing line from:
to
I don't know if this is right or not, but at least that way I don't get error and I see order details, but for some reason I don't see this template at that order?
Well for now I "solved" this by changing line from:
Code: Select all
$this->response->setOutput($this->render());
Code: Select all
$this->response->setOutput($this->load->view('payment/securetrading_pp_order.tpl', $data));
It's a bug that looks like was fixed. https://github.com/opencart/opencart/co ... 2bd12d5430
Thank you ADD Creative. I guess it was done only for 2.2, but not for 2.1.
I changed line now to:
And data is shown as it was supposed to.
But ware there any changed made also for other files for securetrading_pp plugin, because for some reason status is not changed to "Payed" after payment is made and a few other problems happen for me at this plugin?
I changed line now to:
Code: Select all
return $this->load->view('payment/securetrading_pp_order.tpl', $data);
But ware there any changed made also for other files for securetrading_pp plugin, because for some reason status is not changed to "Payed" after payment is made and a few other problems happen for me at this plugin?
I don't know about 2.2, but there looks to have been a few updated over the years.
https://github.com/opencart/opencart/se ... pe=commits
https://github.com/opencart/opencart/se ... ype=issues
https://github.com/opencart/opencart/se ... pe=commits
https://github.com/opencart/opencart/se ... ype=issues
Who is online
Users browsing this forum: No registered users and 49 guests