How to install the access script
The script provided is merely a form. It contains the information needed to display the pricepoints that you selected, and the code-capturing fields.
Example: a form in format WML:
Pay with Allopass
<go href="http://wap.allopass.com/access/script.wml" method="post">
<postfield name="SITE_ID" value="xxxxxx" />
<postfield name="DOC_ID" value="xxxxxx" />
<postfield name="LG_SCRIPT" value="uk" />
Example: form in format XHTML Mobile ou
<form action="http://wap.allopass.com/access/script.wml" method="post">
<input type="hidden" name="SITE_ID" value="xxxxxx" />
<input type="hidden" name="DOC_ID" value="xxxxxx" />
<input type="hidden" name="LG_SCRIPT" value="uk" />
<input type="submit" value="Pay with allopass" />
This field must contain at least 3 fields:
SITE_ID field contains the Allopass ID of your site.
DOC_ID field contains the Allopass ID of your protected product (=protected document).
LG_SCRIPT field contains the displaying language of the script.
In previous examples,the value "xxxxxx" should be replaced by the Allopass ID of your site for the field
SITE_ID and by the Allopass ID of your protected product (document) for the field
The values of these fields are provided in the standard script (see page "Product Script Setup" in the
section "My Products").
Form Submit URL:
When this form is submitted, this data is sent to the URL
Certain mobile platforms reject lengthy URLs, it is
mandatory to submit the data with the method "post".
Form optional fields
You can add several optional fields to this form, which are not present in the standard script.
These hidden fields (thus of the HIDDEN type) must respect the format requirements for the type of content of your WAP site.
For a site in WMLformat :
<postfield name="RECALL" value="1" />
For a site in XHTML format, Mobile or
<input type="hidden" name="RECALL" value="1" />
The optional fields that you can add to this form are identical to those used for One-Time payment
scripts. Consult the list of optional fields.
How to test the access script
Once you are done with installing the script, a "Pay with Allopass" button should display on your access
page (see Picture 1 below).
Picture 1: Access button to script
When clicking the "Pay with Allopass" button, your visitors are redirected to a script hosted on our
servers (see Picture 2 below). This script enables your customer to dial the surcharged number associated to the
country they selected, and to insert their Allopass code. Once the code is validated, your customers will be able to
consult your paid-content.
Just before the access script to your paid-content displays, a standard disclaimer will appear and state
that: Access to surcharged numbers is reserved to major persons.
If you dispose of our own disclaimer and wish to deactivate Allopass one, you
must ask our customer support first at:
Picture 2: Access Script to paid-document (product)
If you are redirected to an error page "Script unavailable" instead of your access script, it means that your form was ill-installed (see: Product Script Setup).
This error page displays the list of error codes which meaning is explained in section
Errors and return codes.