PHP Classes

File: aim-settings.php

Recommend this page to a friend!
  Classes of Blaine Simpson  >  AIM  >  aim-settings.php  >  Download  
File: aim-settings.php
Role: Configuration script
Content type: text/plain
Description: Sample runtime configuration file
Class: AIM
Submit credit card charges
Author: By
Last change:
Date: 10 years ago
Size: 1,637 bytes


Class file image Download
# Set AIM configuration values here.

# The AIM class may be used according to the BSD license, as documented
# in AIM.php.

# Most of these settings need to mirror the settings which you have in the
# web interface at

# (I'm commenting with # instead of // or /* */ because I intend to
# make this into a conventional config file some day, and that will
# probably require # comments.


# Server target destination. You probably want to leave this as it is.
$this->urlString = "";

# Your AIM login
$this->login = "changethis";

# Your Transaction Key (n.b. this is very different from
# a "transaction ID").
$this->tran_key = "changethis";

# Protocol field Delimiter. This is only used to decipher responses, it
# is not sent in requests. Therefore, it must be set to your
# "Default Field Separator" setting.
$this->pdelimiter = "|";

# If, for some reason, you use a "Field Encapsulation Character".
#$this->pencap = "*";

# Client will consider it an error if the response contains fewer than this
# number of fields.
$this->pminfields = 10;

# calls this "Transaction Version". I only know that 3.1
# works, so I suggest you set it to 3.1.
$this->pversion = 3.1;

# I doubt this client will work if you have relay true.
$this->prelay_response = false;

# If this is true, the request will really go to, but
# only pretend to apply the charge (the RR text and
# confirmation emails will indicate test mode).
$this->test_request = true;