Kryptronic Software Support Forum

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.

#1 11-08-2002 13:18:51

Guest
Guest

AuthorizeNet

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!

 

#2 11-08-2002 16:40:56

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: AuthorizeNet

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.


Nick Hendler

Offline

 

#3 01-20-2003 22:28:28

lonestar
Member
Registered: 01-20-2003
Posts: 3

Re: AuthorizeNet

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

 

#4 01-22-2003 10:36:24

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: AuthorizeNet

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.


Nick Hendler

Offline

 

#5 01-24-2003 11:49:03

Guest
Guest

Re: AuthorizeNet

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>";

 

#6 01-28-2003 11:29:04

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: AuthorizeNet

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.


Nick Hendler

Offline

 

Board footer