Skip to content

Commit

Permalink
Update InstamojoPrestaShop.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ajithsaravanan authored Aug 29, 2017
1 parent 8cd21b4 commit bf546fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions InstamojoPrestaShop.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function hookPayment()
$this->smarty->assign(array(
'this_path' => $this->_path, //keep for retro compat
'this_path_instamojo' => $this->_path,
'checkout_label' => $this->l((Configuration::get('checkout_label')) ? Configuration::get('checkout_label'): "Pay using Instamojo"),
'checkout_label' => $this->l((Configuration::get('instamojo_checkout_label')) ? Configuration::get('instamojo_checkout_label'): "Pay using Instamojo"),
'this_path_ssl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'modules/' . $this->name . '/'
));

Expand All @@ -78,7 +78,7 @@ public function hookDisplayPaymentEU()
return ;

return array(
'cta_text' => $this->l((Configuration::get('checkout_label'))?Configuration::get('checkout_label'):"Pay using Instamojo"),
'cta_text' => $this->l((Configuration::get('instamojo_checkout_label'))?Configuration::get('instamojo_checkout_label'):"Pay using Instamojo"),
'logo' => Media::getMediaPath(dirname(__FILE__).'/instamojo.png'),
'action' => $this->context->link->getModuleLink($this->name, 'validation', array('confirm' => true), true)
);
Expand Down

0 comments on commit bf546fe

Please sign in to comment.