Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Email:

Integrating With Authorize.net Using SIM

By Will Bontrager
2003-02-11


Customizing the SIM.cgi Script

The SIM.cgi script is included in the SIM.zip file. The script can be used to insert the fingerprint into your order verification form with SSI or with JavaScript. (Instructions for SSI and JavaScript are in following sections.)

Before SSI or JavaScript can be used to insert the fingerprint into your form, the script must be customized and installed.

SIM.cgi has six places that can be customized, each clearly marked.

1. Your Login ID must be specified.

2. Your Transaction Key must be specified. (Obtain a
Transaction Key from authorize.net according to
their instructions).

3. Whether or not to generate an x_Currency_Code hidden
field whenever the order verification form specifies
a currency code.

~~ If you do provide that hidden field on your order
verification form, specify No, and the subroutine
will refrain from generating the hidden field so
you won't end up with a duplicate.

~~ If you don't provide that hidden field, specify
Yes, and the subroutine will generate the hidden
field as needed.

4. Whether or not you're calling SIM.cgi as an external
JavaScript file. Specify Yes or No.

5. If you know the total transaction amount beforehand,
having only one product with one price for example,
then specify that amount.

6. If you know the currency code beforehand, specify
that code.

To install SIM.cgi, upload the script as a text file into your cgi-bin and give it 755 permissions.

Tutorial Pages:
» Integrating With Authorize.net Using SIM
» How SIM Works
» The Order Verification Form
» Customizing the SIM.cgi Script
» Using SSI To Insert the Fingerprint
» Using JavaScript To Insert the Fingerprint
» Using a Perl Program To Display the Form With Fingerprint Automatically Inserted
» Modifying Scripts To Create the Fingerprint
» Detailed Instructions For Master Form
» The Order Verification Form Modification Step
» Uploading the Three Files To Your Server
» Testing
» Changing Transaction Keys


Copyright 2004 Bontrager Connection, LLC


 | Bookmark
Related Tutorials:
» Random subroutines in Perl
» Log Script Use
» Creating Perl Modules for Web Sites
» Bit Vector, Using Perl Vec
» Build a Perl/CGI Voting System
» Perl Range Operator

Ask A Question
characters left.