TrogloGeek / prestashop-tggatos-module

TggAtos Module for Prestashop (1.4 to 1.7), ATOS SIPS 6xx payment gateway
61 stars 34 forks source link

Handle sogenactif css #65

Open e-gaulue opened 7 years ago

e-gaulue commented 7 years ago

To use a custom css, sogenactif ask you to add ;url_to_your_file to the request data string.

My first idea was to use the last field of the advanced tab, but it looks like this field is sanitized by Configuration::updateValue() line 314.

Configuration::updateValue() has got an option to allow html TAGS, but whatever you do you loose your tags as you go through Tools::purifyHTML.

So maybe the best would be to use a specific entry for USE_CSS as for CONTROL (I won't do unless most banks ask for this USE_CSS entry) or leave people handle this themselves tweaking your code.

Regards,