Skip to content

Commit

Permalink
Added Paypal Order Info Heading title Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
condor2 committed Jun 4, 2024
1 parent dcb816c commit f1583b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/admin/controller/extension/payment/paypal.php
Original file line number Diff line number Diff line change
Expand Up @@ -2722,14 +2722,14 @@ public function customer_delete_customer_before($route, &$data) {

public function order_info_before($route, &$data) {
if ($this->config->get('paypal_status') && !empty($this->request->get['order_id'])) {
$this->load->language('extension/payment/paypal');
$this->load->language('extension/payment/paypal','extension_payment_paypal');

$content = $this->getPaymentDetails((int)$this->request->get['order_id']);

if ($content) {
$data['tabs'][] = [
'code' => 'paypal',
'title' => $this->language->get('heading_title_main'),
'title' => $this->language->get('extension_payment_paypal')->get('heading_title_main'),
'content' => $content
];
}
Expand Down

0 comments on commit f1583b8

Please sign in to comment.