Helping ordinary people create extraordinary websites!

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:

Copyright 2004 Bontrager Connection, LLC


 1 Votes

You might also want to check these out:


Leave a Comment on "Integrating With Authorize.net Using SIM"
You must be logged in to post a comment.

Link to This Tutorial Page!


GET OUR NEWSLETTERS