Jump to content

Realex Module Issue


Recommended Posts

I was using Realex Payment module for few weeks with no errors. Suddenly info texts and form field dissapeared.

When I'm entering Realex Module configuration i can't see field info etc. (see attached image)

Any idea what happened?

 

post-1040255-0-10023200-1435588819_thumb.png

Link to comment
Share on other sites

  • 3 weeks later...

Anyone can help me to sort this out?

 

Maybe someone had similar problem/issue? I think it is caused by the htmentities function...

 

$this->html .= '<input type="text" name="merchantId" value="'.htmlentities(Tools::getValue('merchantId', $this->merchant_id), ENT_COMPAT, 'UTF-8').'" style="width: 300px;" />';

 

or just with $this-> ....

 

$this->html .= '<tr><td style="padding-top:5px;" colspan="2">'.$this->l('Please specify your Realex Payments account details').'.<br /><br /></td></tr>';

Edited by kluge (see edit history)
Link to comment
Share on other sites

I figure out that there is something wrong with translation function or translation In general because this line:

 

$this->html .= "<img src='".$this->_path.'img/realexredirect.jpg'."' style='float:left; margin-right:15px;'><strong><br/>";

 

works perfectly and this one:

 

$this->html .= $this->l('Thanks for installing the Realex Payments Prestashop module.');

 

does not. Function l(‘ ‘); is responsible for translation…

 

Maybe that’s the issue?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...