User Guide

Chapter 10220
Submit [CyberCash] data for processing when [button] is clicked
This contract between the CyberCash element and a button that submits the page
sends data to the CyberCash CashRegister for processing and stores the
transaction results in the CyberCash SmartElement. This contract must be
applied after all of the 'Set' contracts have been applied.
Store transaction results from [CyberCash] in [ASPServer] when
[button] is clicked
This contract allows you to store transaction status data returned from CyberCash
in the Session object, for instance. This is useful for displaying an error message on
a "failure" page. Parameters for the contract specify the Session variable names in
which to store the data. This contract must be applied after the Submit contract.
Store transaction status from [CyberCash] in [recordset] when
[button] is clicked and redirect based on transaction outcome
An interaction that allows you to store the transaction results in the database and
redirect based on the transaction outcome.
Parameters:
SuccessRedirect specifies the destination page if the transaction was successful
FailedRedirect specifies the destination page if the transaction failed. Consider
using the "Store transaction results in [ASPServer]." Contract, which allows
you to generate an error message on the FailedRedirect page.
StoreErrorInfo indicates whether you want to store the error info in the
database. You may only want to store the transaction status (i.e., success or
failure) rather than storing additional error info.
OrderIdCol, StatusDbCol, ErrMsgDbCol, ErrSrcDbCol are the column
names in the recordset participant that store the OrderID, Transaction Status,
Error Message, and Error Location, respectively.
Set [CyberCash] OrderTotal to value of [FormElement] when
[button] is clicked
An interaction that sets the CyberCash SmartElement's OrderID property to the
value of a Form Element on the page containing the OrderID.
Participants:
CyberCash
FormElement (edit box, hidden form element, etc.)
Button (any clickable object)