When the payment extension PayPal Checkout Integration is enabled on an OpenCart 3.0.x.x version, e.g. https://github.com/opencart/opencart/tree/3.0.x.x , the heading title is wrong on the admin backend's sale/order/info page. It always shows this:
It should show this:
This issue is caused by the event handler order_info_before in file admin/controller/extension/payment/paypal.php which calls the $this->load->language('extension/payment/paypal'); . Later on, OpenCart calls the event handler event/language/before (see file admin/controller/event/language.php) which then loads the wrongly modified data from the $this->language->data .
Suggested bugfix for admin/controller/extension/payment/paypal.php :
I might add, the same issue probably also exists for OpenCart 4.0.x.x or OpenCart 2.3.x.x versions, though I haven't tested them, was busy on maintaining the OC 3.0.x.x branch.
When the payment extension PayPal Checkout Integration is enabled on an OpenCart 3.0.x.x version, e.g. https://github.com/opencart/opencart/tree/3.0.x.x , the heading title is wrong on the admin backend's sale/order/info page. It always shows this:
It should show this:
This issue is caused by the event handler order_info_before in file admin/controller/extension/payment/paypal.php which calls the
$this->load->language('extension/payment/paypal');
. Later on, OpenCart calls the event handler event/language/before (see file admin/controller/event/language.php) which then loads the wrongly modified data from the $this->language->data .Suggested bugfix for admin/controller/extension/payment/paypal.php :