diff --git a/upload/admin/controller/payment/payfort_fort.php b/upload/admin/controller/payment/payfort_fort.php index 632e095..7e27536 100644 --- a/upload/admin/controller/payment/payfort_fort.php +++ b/upload/admin/controller/payment/payfort_fort.php @@ -85,8 +85,10 @@ public function index() { $data['entry_naps'] = $this->language->get('entry_naps'); $data['entry_credit_card'] = $this->language->get('entry_credit_card'); $data['entry_cc_integration_type'] = $this->language->get('entry_cc_integration_type'); + $data['entry_cc_mada_branding'] = $this->language->get('entry_cc_mada_branding'); $data['entry_installments_integration_type'] = $this->language->get('entry_installments_integration_type'); $data['help_cc_integration_type'] = $this->language->get('help_cc_integration_type'); + $data['help_cc_mada_branding'] = $this->language->get('help_cc_mada_branding'); $data['help_installments_integration_type'] = $this->language->get('help_installments_integration_type'); $data['text_merchant_page'] = $this->language->get('text_merchant_page'); $data['text_merchant_page2'] = $this->language->get('text_merchant_page2'); @@ -100,6 +102,8 @@ public function index() { $data['text_front_currency'] = $this->language->get('text_front_currency'); $data['help_gateway_currency'] = $this->language->get('help_gateway_currency'); $data['text_store_language'] = $this->language->get('text_store_language'); + $data['text_cc_with_mada'] = $this->language->get('text_cc_with_mada'); + $data['button_save'] = $this->language->get('button_save'); $data['button_cancel'] = $this->language->get('button_cancel'); @@ -281,6 +285,12 @@ public function index() { $data['payfort_fort_cc_integration_type'] = $this->config->get('payfort_fort_cc_integration_type'); } + if (isset($this->request->post['payfort_fort_cc_mada_branding'])) { + $data['payfort_fort_cc_mada_branding'] = $this->request->post['payfort_fort_cc_mada_branding']; + } else { + $data['payfort_fort_cc_mada_branding'] = $this->config->get('payfort_fort_cc_mada_branding'); + } + if (isset($this->request->post['payfort_fort_status'])) { $data['payfort_fort_status'] = $this->request->post['payfort_fort_status']; } else { diff --git a/upload/admin/language/arabic/payment/payfort_fort.php b/upload/admin/language/arabic/payment/payfort_fort.php index 14759a1..71bd6af 100644 --- a/upload/admin/language/arabic/payment/payfort_fort.php +++ b/upload/admin/language/arabic/payment/payfort_fort.php @@ -20,6 +20,7 @@ $_['text_merchant_page2'] = 'Merchant Page 2.0'; $_['text_store_language'] = 'Store Language'; + $_['entry_merchant_identifier'] = 'معرف التاجر'; $_['entry_purchase'] = 'شراء'; $_['entry_authorization'] = 'تخويل'; @@ -38,12 +39,14 @@ $_['entry_request_sha_phrase'] = 'عبارة طلب تشفير (SHA)'; $_['entry_response_sha_phrase'] = 'عبارة رد تشفير (SHA)'; $_['entry_cc_integration_type'] = 'Integration Type'; +$_['entry_cc_mada_branding'] = 'mada option'; $_['entry_installments_integration_type'] = 'Integration Type'; $_['entry_debug'] = 'Debug mode:'; $_['entry_gateway_currency'] = 'Gateway Currency'; $_['text_base_currency'] = 'Base Currency'; $_['text_front_currency'] = 'Front Currency'; $_['help_gateway_currency'] = 'The Currency should be sent to payment gateway.'; +$_['help_cc_mada_branding'] = 'تفعيل بطاقة مدى البنكية في المتجر'; $_['entry_order_placement'] = 'Order Placement'; $_['text_on_success'] = 'On Success'; diff --git a/upload/admin/language/english/payment/payfort_fort.php b/upload/admin/language/english/payment/payfort_fort.php index 1acc29a..b450aea 100644 --- a/upload/admin/language/english/payment/payfort_fort.php +++ b/upload/admin/language/english/payment/payfort_fort.php @@ -38,12 +38,15 @@ $_['entry_request_sha_phrase'] = 'Request SHA Phrase'; $_['entry_response_sha_phrase'] = 'Response SHA Phrase'; $_['entry_cc_integration_type'] = 'Integration Type'; +$_['entry_cc_mada_branding'] = 'Mada option'; $_['entry_installments_integration_type'] = 'Integration Type'; $_['entry_debug'] = 'Debug mode:'; $_['entry_gateway_currency'] = 'Gateway Currency'; $_['text_base_currency'] = 'Base Currency'; $_['text_front_currency'] = 'Front Currency'; $_['help_gateway_currency'] = 'The Currency should be sent to payment gateway.'; +$_['help_cc_mada_branding'] = 'Enables mada bank card in store view'; + $_['entry_order_placement'] = 'Order Placement'; $_['text_on_success'] = 'On Success'; diff --git a/upload/admin/view/template/payment/payfort_fort.tpl b/upload/admin/view/template/payment/payfort_fort.tpl index da050db..6d66213 100644 --- a/upload/admin/view/template/payment/payfort_fort.tpl +++ b/upload/admin/view/template/payment/payfort_fort.tpl @@ -205,6 +205,17 @@ + +