Re: Authorize.net Seal sidebox
To get the box and seal to work, I used cowboyfred's file, and inserted my merchant ID in it. I am not sure how his an my file differ (I think it is something really small), but his worked. Here is the code that i used. Replace "MY SITE ID" with the merchant ID that authorize.net sent you.
<?php
/**
* tpl_authorizenet.php
*
* Loaded automatically by index.php?main_page=account_edit.<br />
* Displays information related to a single specific order
*
* @package templateSystem
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* $Id: tpl_godaddy.php v 1.2 2006-09-06
* Zen Cart Mod For 1.3xxxx by knuckle-101
*/
$content .= '<!-- (c) 2006. Authorize.Net is a registered trademark of Lightbridge, Inc. --> <div class="AuthorizeNetSeal"> <script type="text/javascript" language="javascript">var ANS_customer_id="MY SITE ID";</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">Online Payment Processing</a> </div>';
?>
Sadie
Re: Authorize.net Seal sidebox
urm, you added the class to the link line this needs to be in a different file includes\modules\sideboxes\YOUR_TEMPLATE\authorizenet.php have you tried adding it there see what happens?
This could cuse alignment troubles for classic users.
Code:
<?php
/**
* authorizenet.php
*
* Loaded automatically by index.php?main_page=account_edit.<br />
* Displays information related to a single specific order
*
* @package templateSystem
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* $Id: authorizenet.php v 1.3 2006-09-06
* Zen Cart Mod for 1.3 by knuckle-101
*/
// test if box should display
$show_authorizenet = true;
if ($show_authorizenet == true) {
$content = '';
require($template->get_template_dir('tpl_authorizenet.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_authorizenet.php');
$content = '<div id="' . str_replace('_', '-', $box_id . 'Content') .
'" class="AuthorizeNetSeal">' . $content . '</div>';
$title = BOX_HEADING_AUTHORIZENET;
$title_link = false;
$left_corner = false;
$right_corner = false;
$right_arrow = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
?>
Re: Authorize.net Seal sidebox
Hi,
I just logged into my authorize.net account and copied the javascript that they had given me for my particular domain name. I placed that into a sidebox and it worked fine for me, and is clickable. The one thing I did notice, however, is that when I was creating my site, I was viewing it off of my hard drive, and the authorize.net image was not showing up. Only when I had the site uploaded to the server did the image appear and become clickable. Don't know why that was, but I thought it wasn't working until I viewed it off of the actual server.
Re: Authorize.net Seal sidebox
The code should have the image attached when pasted.
Try removing the image itself and use thier code directly.
Re: Authorize.net Seal sidebox
Hmm. It didn't center. I'll look at it some more with fresh eyes in the next few days. Perhaps a typo. Is it centered for others? I'm sure it is .....
Re: Authorize.net Seal sidebox
I added my Godaddy SSL Seal fine using Knuckle's addon, but I am trying to also include my Godaddy Certified Domain Seal in the same sidebox.
I know this shouldn't be hard, but I can't quite get both seals to display.
Any insight to point me in the right direction? Thanks :frusty:
Re: Authorize.net Seal sidebox
Im working on a sidebox for the certified seal, is that what you talking about?
Re: Authorize.net Seal sidebox
Both the seals are the same size and look rather similar, so I was hoping to plop them neatly in the same sidebox, on top of each other.
I renamed the sidebox to "Site Security" so it would be cool to have them contained there, instead of adding yet another side box for the certified seal too. :smile:
Re: Authorize.net Seal sidebox
I will see what I can do, what exactly are you wanting
so i do know what the scoop is, you are wanting to add godaddy site seal with authorize merchant seal correct in same box
Re: Authorize.net Seal sidebox
Quote:
Originally Posted by
sobebabies
Hmm. It didn't center. I'll look at it some more with fresh eyes in the next few days. Perhaps a typo. Is it centered for others? I'm sure it is .....
Can you paste your code here so I can see what you have?