cancel
Showing results for 
Search instead for 
Did you mean: 

Authorize seal crashing Internet Explorer

Hi,

 

I have a PHP-based site, on which I was displaying the Authorize site seal.  The code for that is as follows:

 

<!-- (c) 2005, 2011. Authorize.Net is a registered trademark of CyberSource Corporation --> <div class="AuthorizeNetSeal"> <script type="text/javascript" language="javascript">var ANS_customer_id="###";</script> <script type="text/javascript" language="javascript" src="//verify.authorize.net/anetseal/seal.js" ></script> <a href="###" id="AuthorizeNetText" target="_blank">Online Credit Card Processing</a> </div>

 

In testing, I noticed that the seal can be displayed, but upon navigating to any second page that also displays the seal, IE7 and IE8 crash (IE9 is unknown).   The seal was being displayed on a secure https page, if that matters.  Firefox and Opera display the seal without any problems.  My issues seem to echo those posted at this old forum:  http://tinyurl dot com/3r5pk3q

 

Any advice? Thanks.

underscore
Member
3 REPLIES 3

No idea what's causing the problem, but tne obvious solution would be to not used the canned code, but to rather download the image to your site and then implement using more in the way of regular HTML: For instance, I put this on a client's site:

 

<center><a href="http://verify.authorize.net/anetseal/?pid=36d6ac07-fb78-4771-af68-5abb5350e3d4&amp;rurl=http%3A//www..." target="_blank"><img src="/images/design/authorize.png" width="90" height="72" border="0" alt="Authorize.Net"></a><br>
<span style="font-size: 11px;">Web Ecommerce</span></center>

 EDIT: I see the code box is unable to properly handle URLs, and the link doesn't work here because it's not coming from my client's site, but you should set the URL to the same place you end up if you click the regular seal.

TJPride
Expert

The Verified Merchant Seal has been tested in Internet Explorer 7 and 8 without any problems.  This is personally something that I have never heard of despite the fact that we have hundreds (likely thousands) of merchants using the seal on their sites.  I would have to assume that this is something particular either to your browser or some javascript on your site that may be conflicting with the javascript in the seal.  A tool like the firebug extension for firefox may help you identify a possible javascript conflict.

I, too, am having problems with the seal.js code in IE8. I get a javascript error on line 31 and my page will stop loading:

 

Invalid argument.

 

I believe it is referring to one of these lines from seal.js:

 

 

document.writeln( '</style>' );

if( window.ANS_customer_id )

 

If I remove the seal and code, my page loads fine, so it seems there is a conflict with the js and my page.

 

Here is the code I'm using, which I just took off off the authorize.net page, but changed the src location from "//" to "https://":

 

<div class="AuthorizeNetSeal"> <script type="text/javascript" language="javascript">var ANS_customer_id="my_id";</script>
<script type="text/javascript" language="javascript" src="https://verify.authorize.net/anetseal/seal.js"></script> <a href="http://www.authorize.net/" id="AuthorizeNetText" target="_blank">Transaction Processing</a> </div>

Somebody solved a similar problem on stackoverflow, but I don't understand what she did:

 

Stack Overflow: Invalid Argument Error

 

Any help would be greatly appreciated.