Skip to content

Commit

Permalink
Added Paypal Bugfix order info heading title from 3.0.x.x
Browse files Browse the repository at this point in the history
  • Loading branch information
condor2 authored Jun 4, 2024
1 parent dd8ff7a commit 6b1f28f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions upload/admin/controller/extension/payment/paypal.php
Original file line number Diff line number Diff line change
Expand Up @@ -2109,14 +2109,14 @@ public function customer_delete_customer_before($route, &$data) {

public function order_info_before($route, &$data) {
if ($this->config->get('payment_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'][] = array(
'code' => 'paypal',
'title' => $this->language->get('heading_title_main'),
'title' => $this->language->get('extension_payment_paypal')->get('heading_title_main'),
'content' => $content
);
}
Expand Down Expand Up @@ -3306,4 +3306,4 @@ private function token($length = 32) {

return $token;
}
}
}

0 comments on commit 6b1f28f

Please sign in to comment.