MSM7xx Controllers Configuration Guide v6.4.0

DescriptionSyntax
Priority of evaluation.( )
If then else statement.if
(logical
Control flow
condition
) {} else
{}
Looping.for(start;
until;
steps) {
}
Forms
The following forms can be used to gather information from a user and submit it to the public
access interface for processing.
HtmlSubscriptionRequest
This form can be used create a user account and to execute a payment.
To complete certain form actions, you may be required to submit several parameters. These
parameters do not all have to be submitted at the same time. The public access interface will
combine the values from multiple POSTs and execute the required task once all required data
has been submitted. This allows tasks that require many user inputs (creation of a new account,
for example) to be spread out over multiple pages.
Before submitting, you should clear any variable which may still be present in the session store
as follows:
ClearSessionVar(subscription_plan)
ClearSessionVar(payment_method)
ClearSessionVar(password)
ClearSessionVar(card_number)
ClearSessionVar(card_expiration)
ClearSessionVar(cart_id)
Fields
cancel: Redirects the user to cancel_url.
cancel_url: URL to which the user is redirected when the cancel field is specified.
card_expiration: Credit Card expiration in the format mm/yy.
card_number: Credit Card number.
confirm_password: Password of the user account.
error_url: URL to which the user is redirected if an error occurs.
password: Password of the user account.
pay: Include this field (with any value) to execute a payment.
payment_method: Payment method must be "CreditCard".
subscription_plan: Name of the subscription plan.
success_url: URL to which the user is redirected if no error occurs.
Public access interface ASP functions and variables 491