Working with RADIUS attributes
Public access interface ASP functions and variables
15-93
ASP variables
worldpay_url: String containing the configured WorldPay URL on the controller.
worldpay_installation_id: String containing the configured WorldPay Installation ID on
the controller.
worldpay_cart_id: String containing a unique number for this order that represents a
virtual cart in which items that are being bought are stored.
Example
LoadWorldPayInformation();
write(worldpay_url);
LoadTaxInformation()
This function initializes a variable that provide information on the current tax setting
configured on the Controller >> Public access > Payment services page.
ASP variable
tax_percent: Tax rate that will be applied to all charges. The tax rate is configured on
the controller.
Example
LoadTaxInformation();
write("Tax is " + tax_percent + "% here.");
Session information
The controller maintains a block of data, called a session, for each IP address that is
connected to the public access interface. The session makes it possible to store and access
data across more than one page in the public access interface.
Session variables are reset when:
the ASP function ClearSessionVar() is called
the user’s session is deleted or restarted
A session ends when 3 minutes passes without any user activity on the public access
interface.
Session functions
GetSessionVar(variable)
Returns the value of the specified session variable.
ClearSessionVar(variable)
Clears the value of the specified session variable.