Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Aim v1.7 authorize.net Runtime Error


2 replies to this topic

#1 fbncommunications

  • Community Member
  • 7 posts
  • Real Name:Darryl

Posted 03 May 2004, 19:24

I am running OSC ms2.2 with the AIM v1.7 contribution.

The website is http://www.ccmilitarysurplus.com/supplyroom

When you are in the checkout_shipping.php module(delivery Information) and click CONTINUE, which starts the checkout_payment.php, you get the following error message:

A Runtime Error has occurred. Do you wish to debug?

Line: 4 Error: Cannot assign to '[object]'
Yes/No

If you say Yes it shows you line 4 as just the }

<script language="javascript" type="text/javascript">!--
/********************************
* Addition for Authorize.net Consolidated
* by Austin519 - CVV PopUp Window
* If using a custom checkout_payment.php
* paste the following lines into your file
********************************/
function CVVPopUpWindow(url) {
window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res
izable=no,copyhistory=no,width=600,height=233,screenX=150,screenY=150,top=150,lef
t=150')
}
//--></script>




If you say No, you get:
A Runtime Error has occurred. Do you wish to debug?
Line: 216 Error: Object expected
Yes/No




<tr>
<td align="center" class="boxText"><script language="javascript" type="text/javascript">TrustLogo("https://www.ccmilitarysurplus.com/supplyroom/images/comodo_trustlogo_seal.gif", "SC", "none");



If you say No, you get:
A Runtime Error has occurred. Do you wish to debug?
Line: 476 Error: Object expected
Yes/No

<table width="782" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="144" bgcolor="d8d5d0"><script type="text/javascript">TrustLogo("images/credit_card_medium_trans.gif", "SCCC", "none");

Leaving you in the Payment Information page.


Thanks in advance for any help given.
Raider

#2 mids1999

  • Community Member
  • 51 posts
  • Real Name:Michael

Posted 10 May 2004, 03:08

please tell me what you did to correct the problem.
I am experiencing the same problem with my site and authorize.net aim v1.7
Thank you in advance
michael schlottfeld
mids1999

#3 fbncommunications

  • Community Member
  • 7 posts
  • Real Name:Darryl

Posted 12 May 2004, 03:14

Michael,

No problem Austin answered me on this one.

In checkout_payment.php, in the middle find:
<script language="javascript" type="text/javascript">!--

Change to:
<script language="javascript" type="text/javascript"><!--

Now I am running into this problem:
The server cannot connect to Authorize.net. Please check your cURL and server settings.

It supposedly answered in this thread, but I think I have tried everything suggested but no luck.

You may want to read up on the following thread. That is where Austin is answering questions on his contribution.

Authorize.net Consolidated v.1.0 for AIM

Good luck and let me know if you have problems or get it going.

Raider