Section 2.2 Configuration Parameters

The main script configuration file is "config.asp". Please open this file for review when reading the configuration section.

Account Information
Field Name Description
authnet_api_login Authorize.Net API Login ID
authnet_trans_key Authorize.Net Transaction Key

Configuration Information
Field Name Description
authnet_transaction_type

Accepts values of "create", "update", or "cancel".

- Set this value to "create" to create a new ARB Subscription Request.

- Set this value to "update" to update an existing ARB Subscription Request.

- Set this value to "cancel" to cancel an existing ARB Subscription Request.

create = ARBCreateSubscriptionRequest
update= ARBUpdateSubscriptionRequest
cancel = ARBCancelSubscriptionRequest


Example: authnet_transaction_type="create"

NOTE: The authnet_subscription_id parameter is required for update and cancel subscription requests

IMPORTANT NOTE FOR UPDATE SUBSCRIPTION REQUESTS:

+ authnet_start_date may only be updated in the event that no successful payments have been completed.

+ The subscription interval information authnet_length and authnet_unit may not be updated.

+ authnet_trial_occurrences may only be updated if the subscription has not yet begun or is still in the trial period.

authnet_test Accepts values of "true" or "false"

- Set this value to "true" to submit a test transaction using your Authorize.Net developer test account.

- Set this value to "false" to submit a live transaction using your live Authorize.Net account.

Note: Your Authorize.Net account must also be out of test mode to submit live transactions.

Subscription Information
Field Name Description
authnet_subscription_name

Name of the submitted Authorize.Net Subscription

Example: authnet_subscription_name="NPR Monthly Donation"

authnet_subscription_id Authorize.Net assigned identification number for the subscription. Required for "update" and "cancel" subscription requests.
authnet_reference_id Assigned by the merchant for tracking purposes only. This value does not appear in the Authorize.Net virtual terminal.
authnet_unit

Unit of time, in association with the authnet_length parameter. Accepts the values of "days" or "months".

Example: authnet_unit="months"

Note: If you create a new subscription with the first payment scheduled for that same day, the initial payment for the subscription will actually be submitted the next business day.

authnet_length If authnet_unit is "months," set this value to any number between one (1) and 12.

If authnet_unit is "days," set this value to any number between seven (7) and 365.

Example: authnet_length="3"
authnet_start_date

The date the subscription begins. Format: YYYY-MM-DD

authnet_total_occurrences

Indicates how many times to run the recurring subscription profile.

9999 = Indefinitely

To submit a subscription with no end date (an ongoing subscription), this field must be submitted with a value of “9999.” If a trial period is specified, this number should include the total number of trial occurrences (authnet_trial_occurrences).


Example: authnet_total_occurrences="9999"

authnet_trial_occurrences If a trial period is specified, this number must be included in the Total Occurrences (authnet_total_occurrences).
authnet_trial_amount The amount to be charged for each payment during a trial period.

Required when authnet_trial_occurrences is specified. Once the number of trial occurrences for the subscription is complete, the regular amount (authnet_amount) will be charged for each remaining payment.

Billing Information
Field Name Description
authnet_billing_company

cardholder’s company.

authnet_billing_firstname cardholder’s first name.
authnet_billing_lastname cardholder’s last name.
authnet_billing_address 3 The cardholder’s billing street address (number and street name).
authnet_billing_city 3 cardholder’s billing city.
authnet_billing_state 3 cardholder’s billing state.
authnet_billing_zip 3 cardholder’s billing zip.
authnet_billing_country 3 cardholder’s billing country.
authnet_phone 3 cardholder’s phone.
authnet_fax cardholder's fax.
authnet_email 3 cardholder’s email address.

Shipping Information
Field Name Description
authnet_shipping_firstname Shipping First Name
authnet_shipping_lastname Shipping Last Name
authnet_shipping_address Shipping Address
authnet_shipping_city Shipping City
authnet_shipping_state Shipping State
authnet_shipping_zip Shipping Zip
authnet_shipping_country Shipping Country

Transaction Information
Field Name Description
authnet_card_num The credit card or purchase card number may not
contain spaces, non-numeric characters, or dashes.
For example, "4111111111111111"
authnet_exp_date Expiration date of the credit card in YYYY-MM format.
For example, 2010-08 represents August 2010.
authnet_amount Amount (US Dollars) U.S. based currency.
Specify the exact amount to the cent using a decimal
point—use 34.00, not 34. Do not include comma
separators—use 1199.95 not 1,199.95.
authnet_custid Subscription Customer Identification Number.
authnet_invoice_num Subscription Invoice Number
authnet_description Subscription Description

eCheck Information
Field Name Description
authnet_bank_account_number Checking Account Number
authnet_bank_routing_number Checking Routing Number
authnet_bank_account_type The type of bank account used for payment of the subscription.
Accepts values of "checking", "businessChecking", "savings".
authnet_bank_name The name of the bank associated with the bank account number
authnet_bank_account_name The full name of the individual associated with the bank account.
authnet_echeck_type

The type of electronic check transaction used for the subscription.

Accepts values of "PPD" or "WEB" for checking or savings accounts.


Accepts the value of "CCD" for business checking accounts.

authnet_drivers_license_number 4 The customer’s driver’s license number
authnet_drivers_license_state 4 The customer's driver’s license state
authnet_drivers_license_dob 4 The customer’s driver’s license date of birth
authnet_customer_organization_type 3 The type of customer. Accepts values of "individual" or "business"
authnet_customer_ssn 3 The customer’s tax ID or social security number

3 Required when the merchant is in the Wells Fargo SecureSource program AND the payment method is bank account.

4 Driver’s license information is only required when the merchant is in the Wells Fargo SecureSource program,
the payment method is bank account, AND tax ID is blank.