[ic] Bug- Payment method shows on all orders as COD
Jamie Neil
interchange-users@icdevgroup.org
Sat Jun 7 07:32:00 2003
On Sat, 2003-06-07 at 03:55, Terral Artis wrote:
> Try removing your un-secure java-script for the Trust Logo. This may be
> it. If so, try removing from the "No Left" template.
I had the same problem with the Trust Logo and solved it by creating a
simple UserTag (is_secure), that checks to see if the URL is secure. I
then use this to display a different URL for the trustlogo script
depending on whether the page is secure or not:
TOP
---
<script type="text/javascript" language="JavaScript" src="[if
type=explicit
compare="[is_secure]"]https://secure.comodo.net[else]http://www.trustlogo.com[/else][/if]/trustlogo/javascript/trustlogo.js"></script>
ADL_PAGE
--------
<script type="text/javascript">TrustLogo("[if type=explicit
compare="[is_secure]"]https[else]http[/else][/if]://www.mysite.com/images/secure_site.gif", "SC", "none");</script>
is_secure.tag
-------------
UserTag is_secure Routine <<EOR
sub {
return $CGI::secure =~ /^(on|1)$/i ? 1 : 0;
}
EOR
Jamie
>
> Terral
>
> > >>>>>>>>>>>>> Are you talking about when using IE you get the warning
> >'This page contains both secure and nonsecure items.' With selections
> >of Yes, No, and More Info ?? If so do you know what needs to be
> >changed to correct this ? Thanks.
> >
> >Jon
> >
> >
> >_______________________________________________
> >interchange-users mailing list
> >interchange-users@icdevgroup.org
> >http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users