I. SuperSite
If you select this option, all purchase related links from within your
and your Customers Control Panel will be re-directed to your SuperSite. Click on
the links below to understand what the SuperSite is and its full potential:
Click here to see a Flash Demo
introducing the SuperSite >>
Click here to see a Flash Demo on Customizing the SuperSite
>>
Click here to read the SuperSite Guide
>>
Click here to read how to set the Supersite >>
II. Custom URL
- If you are
NOT using the SuperSite, and have instead integrated with our platform using
our API, you should choose this option.
-
If you select this option, you will need to specify a Custom
URL (which should ideally be a URL hosted on your website), to which we will redirect
you as well as all
your Customers when ANY purchase link is clicked within the respective
Control Panel.
- Alongwith the redirection we will also
pass a query string containing parameters that you can use on your website to
show appropriate products and services. Details of the
format of the query string can be provided as below.
Query String Format
There are
two types of redirections that your Custom URL may receive -
First:
Your Customers may click on a link for purchasing some product from within their
Control Panel. The query string in this case will be -
<YOUR_SPECIFIED_CUSTOM_URL>?p=<PRODUCT>&tid=<AUTHENTICATION_KEY>&r=customer
Second:
Your company users, or you may
click on a link for purchasing some Product from within your Control Panel. The
query string in this case will be -
<YOUR_SPECIFIED_CUSTOM_URL>?p=<PRODUCT>&tid=<AUTHENTICATION_KEY>
The
variables passed as query strings are explained as under -
p=<PRODUCT>
This is the product which
you or your Customer wants to buy. Following are the possible values of this variable:
| Product (p) |
Product Name |
| domain |
Domain Name Registration |
| bulk |
Bulk Domain Name Registration |
| Product (p) |
Product Name |
| domainfwd |
Domain Forwarding |
| mailfwd |
Mail Forward |
| dns |
Managed DNS |
tid=<AuthenticationKey>
This is a randomly generated
authentication key which you MUST validate to ensure that the redirection is
being made by a authenticated Customer or User. This Authentication Key is valid
only for a short period of time.
On the
Custom URL you specified above, you must write a script to make an API call to
our system to the
authenticateLoginID
(<authentication key>)method of the Customer class or Reseller Class in
the CoreKit, depending upon whether the "r" variable is passed as a query string.
You need to pass the
Authentication key as parameter to the authenticateLoginID method.
The method
authenticateLoginID(<authentication key>) returns the details of the user who
initiated the purchase order process from within the Control Panel, if the <authentication key> matches and
has not timed out. Otherwise, an
authentication failure exception will be thrown.
r=customer
This is the role of
the user. This variable will be passed only
in the case your Customer
is
initiating the product purchase process from within his Control Panel.