You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Nick, I'm sorry to use the forum to contact, but I'm away from my office this morning. Could you ask someone to go into our AuthNet account and change the settings so that our existing website can use the gateway. I think the CCP5 settings are in there now. Thanks!
All taken care of about 2 hours ago. Your other program was hosed from the time you switched servers. Honestly, I'm not sure how it ever worked, but that's a different story. I fixed the script as best I could then wrote a quick and dirty return script that emails info on good orders. That should all work well enough until your CCP5 store is online.
___________________________
Nick Hendler
Webmaster, Kryptronic, Inc.
Offline
I have a site using this cart, and I am having trouble understanding the lingo for authorizenet, is there someone who can help me get the setting right, SIM ? WEBLINK? what have ya,
the site is huntingthewoods.com,
Thank You
Rory Morgan
Lone Star Internet
Lone Star Web Hosting
wwwhuntingthewoods.com
rm@lstx.net
Offline
Follow the instructions in the manual to the letter, and if you don't have Weblink enabled, enable it. We are planning an update to CCP5 which should be out within the next two weeks to make it SIM/AIM compatible.
___________________________
Nick Hendler
Webmaster, Kryptronic, Inc.
Offline
Hi,
Here is a perl script just released by Authorize.net... Hope it helps.
#!/usr/local/bin/perl -w
#
#
# DISCLAIMER:
# This code is distributed in the hope that it will be useful, but
# without any warranty; without even the implied warranty of
# merchantability or fitness for a particular purpose.
#
# Main perl script that demonstrates how to use the SIM library to
# integrate with Authorize.net.
# Input (Form or QueryString):
# x_Amount
# x_Description
#
# If you just want to calculate the Fingerprint without auto generating the
# hidden fields, call:
# &SimLib::GenerateInspFP($loginid, $txnkey, $amount, $sequence, $tstamp,$currency);
#
use strict;
# $Id: sim.pl,v 1.4 2002/11/21 23:31:53 adama Exp $
use SimLib;
# You may want to store this more securely in a DB or Registry or a Encrypted File
# --------------------------------------------------------------------------------
my $loginid = "Your Login ID goes here";
my $txnkey = "Your transaction key goes here";
my %ENTRY = &SimLib::get_submission;
my $x_amount = $ENTRY{'x_amount'};
if (index($x_amount,'$') == 0){
$x_amount = substr($x_amount,1);
}
my $x_description = $ENTRY{'x_description'};
# use the line below to get x_currency code out of the GET/POST or
# set it yourself (my $x_currency_code = "USD";
my $x_currency_code = $ENTRY{'x_currency_code'};
print "content-type: text/htmlnn";
print "<HTML> <HEAD> <TITLE>Order Form</TITLE>n";
print "</HEAD>n";
print "<BODY>n<H3>Final Order</H3>n";
print "Description: ".$x_description." <BR />n";
print "Total Amount : ".$x_amount." <BR /><BR />n";
print "<FORM action="https://certification.authorize.net/gateway/transact.dll" method="POST">n";
# If you don't use a currency code variable, you can still use this call to InsertFP,
# it will use it if supplied but works without it. If you do supply it, InsertFP will
# also print out an html hidden field containing the x_currency_code you passed in.
&SimLib::InsertFP($loginid, $txnkey, $x_amount, $x_currency_code);
# Insert other form elements similiar to legacy weblink integration
print "<input type="hidden" name="x_description" value="" . $x_description . "">n";
print "<input type="hidden" name="x_login" value="" . $loginid . "">n";
print "<input type="hidden" name="x_amount" value="" . $x_amount . "">n";
print "<input type="hidden" name="x_show_Form" value="PAYMENT_FORM">n";
print "<input type="hidden" name="x_test_request" value="TRUE">n";
print "<input type="submit" value="Accept Order">n";
print "</FORM> </BODY> </HTML>";
Thanks for the post. We've been looking at this for some time now and have determined that the scripting provided by Authorize.net is hokey and parts of it have to be rebuilt. We are actively working on a SIM solution. We've tackled AIM already.
___________________________
Nick Hendler
Webmaster, Kryptronic, Inc.
Offline