- $LOGIN="supplied by
authorize.net";
- $PASSWORD="supplied by
authorize.net";
- $TYPE = "NA";
- $EMAILCUSTOMER = "TRUE";
- $REJECTAVSMISMATCH = "FALSE";
- $TESTREQUEST = "FALSE";
- $DELIMCHARACTER = "|";
- $ENCAPSULATE = "FALSE";
LOGIN
Required for transactions other than test transactions. This is the assigned
Authorize.Net login id.
PASSWORD
Required for Credit or Post Authorization transactions. For details on the use of
transaction types, see the Authorize.Net User's Guide.
TYPE
May be one of: NA (means Normal Authorization)
AO (means Authorization Only)
CR (means Credit)
PA (means Post Authorization)
EMAILCUSTOMER
Set this value to "TRUE" if you want an email sent to the Buyer's E-mail(the
value specified in the EMAIL field) notifying him of the transaction details.(The fields
INVOICE AMOUNT METHOD DESCRIPTION CUSTID NAME ADDRESS CITY STATE ZIP COUNTRY PHONE FAX
EMAIL and their values will be included in the email)
ECHODATA
If this field is not provided with a value of "TRUE", only the first 5 RESPONSE
fields (see below) will be returned, otherwise all allowed fields provided in the request
will be returned in the response.
REJECTAVSMISMATCH
If this field is not provided with a value of "TRUE", the transaction will be
accepted if it is authorized by FDC, even if the AVS response is a mismatch.
Otherwise, the transaction must pass the "AVS test" with either a matching zip
code, address, or both.
TESTREQUEST
If this field is provided with a value of "TRUE" the script will perform all
validation functions except actually authorizing the transaction and storing it in the
merchant's batch, regardless of whether the merchant's configuration is set to LIVE or
TEST mode. In other words, the response would be equivalent to the merchant being in TEST
mode
DELIMCHARACTER
If you want the RESPONSE FIELDS delimited by something other than the default (comma),
provide the DELIMCHARACTER here.
ENCAPSULATE
If you want the response fields encapsulated in double quotes (ex. "response
data"), provide this request field set to "TRUE"; otherwise, the response
fields will not be encapsulated.