Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I have the Authorizenet ADC Direct Connection contribution and I'm having problems setting the module up. Can someone tell me how to do this and if this is the best contribution for Authorize.net AIM.

Posted

I installed the contributions in the / includes/(languages) & (modules)/modules/payment/authorize.php - now when I try to place a order when clicking checkout I get this error message -

Parse error: parse error, unexpected T_STRING in /home/jahi/public_html/store/includes/languages/english/modules/payment/authorizenet.php on line 21 -

 

I see no error on line 21, here's the code

 

<?php

/*

$Id: authorizenetaim.php,v 1.1 2003/07/11 14:40:27 ecartz Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

Copyright © 2004 eCartz.com, Inc.

 

Released under the GNU General Public License

*/

 

define('MODULE_PAYMENT_AUTHORIZENETAIM_TEXT_TITLE', 'Authorize.net AIM');

define('MODULE_PAYMENT_AUTHORIZENETAIM_TEXT_DESCRIPTION', 'Credit Card Test Info:<br><br>CC#: 4111111111111111<br>Expiry: Any');

define('MODULE_PAYMENT_AUTHORIZENETAIM_TEXT_TYPE', 'Type:');

define('MODULE_PAYMENT_AUTHORIZENETAIM_TEXT_CREDIT_CARD_OWNER', 'Credit Card Owner:');

define('MODULE_PAYMENT_AUTHORIZENETAIM_TEXT_CREDIT_CARD_NUMBER', 'Credit Card Number:');

define('MODULE_PAYMENT_AUTHORIZENETAIM_TEXT_CREDIT_CARD_CVV', 'Credit Card Code:');

define('MODULE_PAYMENT_AUTHORIZENETAIM_TEXT_CREDIT_CARD_EXPIRES', 'Credit Card Expiry Date:');

define('MODULE_PAYMENT_AUTHORIZENETAIM_TEXT_JS_CC_OWNER', '* The owner\'s name of the credit card must be at least ' . CC_OWNER_MIN_LENGTH . ' characters.\n');

define('MODULE_PAYMENT_AUTHORIZENETAIM_TEXT_JS_CC_NUMBER', '* The credit card number must be at least ' . CC_NUMBER_MIN_LENGTH . ' characters.\n');

define('MODULE_PAYMENT_AUTHORIZENETAIM_TEXT_ERROR_MESSAGE', 'There has been an error processing your credit card. Please try again.');

define('MODULE_PAYMENT_AUTHORIZENETAIM_TEXT_DECLINED_MESSAGE', 'Your credit card was declined. Please try another card or contact your bank for more info.');

define('MODULE_PAYMENT_AUTHORIZENETAIM_TEXT_ERROR', 'Credit Card Error!');

?>

 

 

I need help!! this is my first time with contributions and Authorize.net AIM, I'm used to the easy PayPal set-up.

Posted
Which one is line 21?

 

this is line 21

 

define('MODULE_PAYMENT_AUTHORIZENETAIM_TEXT_JS_CC_OWNER', '* The owner\'s name of the credit card must be at least ' . CC_OWNER_MIN_LENGTH . ' characters.\n');

 

 

thx for reply, I'm still trying to figure it out

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...