RECURRING POSTBACK
This function assumes that you are
familiar with CGI scripting.
Related Links: Lookup Function | Return
Mode Function | Return Address | PGP
Signature
As always, test your forms
before making them live.
If you use the recurring
transaction features of the gateway, you may
specify a URL to receive
transaction postback information. This can be
enabled via the "Account Settings" link in the
Control Panel.
To use this feature, enter the URL to be used
for postback information. Then select the check-box
for recurring. Each time a recurring transaction
is processed through our system, our server will
post the transaction results to your URL. The
fields listed below will be available to your
script when the postback function is used. Please
note that all fields will be posted even if they
do not have a value.
Transaction Details:
xid (Transaction ID)
authcode (Authorization code if status
is 'ok'.
avs_response (Only on card transacitons
)
cc_last_four (Only on card transacitons
)
cc_name (Visa, MasterCard, American
Express, Discover. Only on card transactions)
cvv2_response (Only on card transacitons
)
trans_type (order)
when (Time/date stamp in format of "20010509134443" -
meaning 05/09/2001 at 13:44:43)
status (ok, error, fail, begun)
error_message
Recurring Details:
recipe_name
recipe_every
recipe_period
orig_xid (Transaction ID of originating
parent transaction.)
rem_reps (Remaining repetitions.)
start_date
Recurring Items:
Item specifics for recurring transactions are passed back in the following
format:
1-desc, 1-cost, 1-qty, 1-x, 2-desc, 2-cost, ...(Where x would
be a user specified item attribute)
There are three different scenarios for the
values of these fields
1. No recur_total, recur_desc passed with
original trans
These items will reflect the item set passed through with the
original order form
2. recur_total, recur_desc passed with original trans
1-cost will be equal to recur_total, 1-desc will be equal to
recur_desc, 1-qty will be 1
3. Manually scheduled recurring transaction
These items will reflect the items that were specified while
scheduling the manual recipe
recur_desc (Deprecated but still returns
value of 1-desc
recur_total
Customer Information:
first_name
last_name
address
city
state
zip
ctry
email
phone
Shipping Information:
saddr
scity
sctry
sfname
slname
sstate
szip
|