User Guide
CyberCash SmartElement Reference 217
Run-Time Attributes
The following attributes are customer and order-related variables sent to or
returned from the CyberCash CashRegister. Because these are specific to a
particular customer and order, they are only accessible at run-time and are set
using associated CyberCash contracts.
FirstName is the first name of the cardholder for the credit card being submitted
LastName is the last name of the cardholder for the credit card being submitted
CCNum is the credit card number
CCExpMo is the credit card expiration month
CCExpYr is the credit card expiration year
CCAddress is the billing address of the credit card
CCCity is the billing city of the credit card
CCState is the billing state of the credit card
CCZip is the billing postal code of the credit card
CCCountry is the billing country of the credit card
OrderID is the ID of the order being submitted for processing
OrderTotal is the total cost of the order being submitted
ResultStatus stores the transaction status returned by CyberCash
ErrLocation stores the error location if the transaction fails. Empty if transaction
was successful
ErrMsg stores the error message return by CyberCash if the transaction fails
Methods and Events
Server() Event sets values of run-time properties required by CyberCash and to
submit the transaction request.
PostProcess() Event takes actions in response to the transaction result, such as
redirecting to success or failure pages and storing CyberCash transaction status
info in your database.
Charge() Method submits required transaction data to the CyberCash Cash
Register for processing.