In your Authorize.Net admin, make sure you have done the following:
Customize “authorizenet.pl” using the username, password and transaction type provided by AuthorizeNet. Find the section below and paste the appropriate values into the single quotations:
my $logon = ' '; # <-- insert AuthorizeNet username here my $password = ' '; # <-- insert AuthorizeNet password here my $mode = ' '; # <-- insert AuthorizeNet transaction mode here my $test = 'true'; # <-- change to 'false' when done testing my $delim = '|'; # <-- change to delim character (you set in step 1, above)
Copy “authorizenet.pl” to your cgi-bin where the other surfshop scripts are located. No permission setting is necessary.
Modify your “Global Settings”:
| Cardservice Vendor(s): | AuthorizeNet |
| Cardservice domain(s): | enter your secure domain here |
| Name of transaction result field: | status |
| Value when approved: | approved |
| Value when declined: | declined |
| Name of AVS result field: | – |
| Name of “Reason for Decline” field: | failReason |
| Name of “Authorization Code” field: | – |
| Name of “Reference Number” field: | – |
Check the box labeled “Use Credit Card Form” in the “Check Out Options” Admin
You do not need to modify the checkout code.