Mochi09 Posted July 3, 2014 Share Posted July 3, 2014 (edited) Hi guys, Just wanna ask why my Authorize.net merchant seal not showing on my footer I already tried to put the code on my footer.tpl file here's the code {* * 2007-2013 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2013 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if !$content_only} </div> <!-- Right --> <aside id="right_column" class="span3 column right_home"> {$HOOK_RIGHT_COLUMN} </aside> </div> </div> </div> <div class="footer-bg-mob"> <footer class="container "> <div class="row modules"> {$HOOK_FOOTER} </div> </footer> <!-- © 2005, 2014. Authorize.Net is a registered trademark of CyberSource Corporation --> <div class="AuthorizeNetSeal"> <script type="text/javascript" language="javascript">var ANS_customer_id="xxxxxxxxxxx-xxxxxxxxxx";</script> <script type="text/javascript" language="javascript" src="//verify.authorize.net/anetseal/seal.js" ></script> <a href="http://www.authorize.net/" id="AuthorizeNetText" target="_blank">Accept Credit Cards</a> </div> </div> </div> </div> {/if} </body> </html> and here's the result on my website TIA! Edited July 3, 2014 by Mochi09 (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted July 4, 2014 Share Posted July 4, 2014 did you actually use this for your customer_id? customer_id="xxxxxxxxxxx-xxxxxxxxxx" Link to comment Share on other sites More sharing options...
vekia Posted July 4, 2014 Share Posted July 4, 2014 what ps version you use? if 1.6.0.8 go to preferences section in back office and disable html purifier. Link to comment Share on other sites More sharing options...
Mochi09 Posted July 7, 2014 Author Share Posted July 7, 2014 did you actually use this for your customer_id? customer_id="xxxxxxxxxxx-xxxxxxxxxx" nope what ps version you use? if 1.6.0.8 go to preferences section in back office and disable html purifier. I'm using PrestaShop™ 1.6.0.6 Link to comment Share on other sites More sharing options...
PSfever.com Posted July 7, 2014 Share Posted July 7, 2014 Try using the {literal} tags around the javascript. More about literal tags here: http://www.smarty.net/docsv2/en/language.function.literal Link to comment Share on other sites More sharing options...
vekia Posted July 7, 2014 Share Posted July 7, 2014 im affraid that it's not the case - {literal} is for code with brackets (as far as i know), when js script doesnt use brackets it isn't necessary to use {literal} {/literal} tags in this case, i think, something cleans up code from "junk", it's a kind of html minifier / html purifier 1 Link to comment Share on other sites More sharing options...
Mochi09 Posted July 7, 2014 Author Share Posted July 7, 2014 Try using the {literal} tags around the javascript. More about literal tags here: http://www.smarty.net/docsv2/en/language.function.literal tried it but nothing happens Link to comment Share on other sites More sharing options...
Mochi09 Posted July 7, 2014 Author Share Posted July 7, 2014 im affraid that it's not the case - {literal} is for code with brackets (as far as i know), when js script doesnt use brackets it isn't necessary to use {literal} {/literal} tags in this case, i think, something cleans up code from "junk", it's a kind of html minifier / html purifier do you mean i need to turn off this ? Allow iframes on HTML fields Link to comment Share on other sites More sharing options...
PSfever.com Posted July 7, 2014 Share Posted July 7, 2014 tried it but nothing happens Btw, if I'm not mistaken there should be a free module for authorize.net http://addons.prestashop.com/en/payments-gateways-prestashop-modules/4154-authorizenet-aim.html - have you tried this one? Link to comment Share on other sites More sharing options...
vekia Posted July 7, 2014 Share Posted July 7, 2014 do you mean i need to turn off this ? Allow iframes on HTML fields noo it's not the case, problem is somewhere else do you use minify html option under adv. params > performance tab in your back office? Link to comment Share on other sites More sharing options...
Mochi09 Posted July 7, 2014 Author Share Posted July 7, 2014 noo it's not the case, problem is somewhere else do you use minify html option under adv. params > performance tab in your back office? nope it is disabled Link to comment Share on other sites More sharing options...
Mochi09 Posted July 7, 2014 Author Share Posted July 7, 2014 Btw, if I'm not mistaken there should be a free module for authorize.net http://addons.prestashop.com/en/payments-gateways-prestashop-modules/4154-authorizenet-aim.html - have you tried this one? thats the one I'm using but there is no stamps on footer Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now