Support Knowledge Base >> Reseller Guides >> Branding Guide

Search |

Integrate your Website and Shopping Cart with your and your Customer's Control Panel

When you and/or your Customers login to their Control Panel, there are several options available to purchase various products and services that you sell. These are in the form of buttons or links either in the menu or the pages themselves. These links and buttons need to redirect to the Shopping Cart of your website.

You can specify the URL to which you and/or your Customers should be redirected when such links are clicked to buy various Products and Services. This URL should be the URL of the Shopping Cart you are using.

How to integrate your and your Customer's Control Panel with your Shopping Cart?

1. Login into your Reseller Admin Control Panel from http://domains.ru-web.org/reseller.

2. Click on Settings -> Control Panel - Shopping Cart Integration.

3. You will be presented with two options for setting up the re-direction URL:
 

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.

 

Created on:  
Aug 2, 2006 9:40 AM  GMT
Last Updated on:   Oct 20, 2008 0:42 PM  GMT
 
Answer How can I customize the URL for my Control Panels? 
Answer Integrate your Website and Shopping Cart with your and your Customer's Control Panel 
Answer How do I customize the Header and/or Footer of the Control Panels? 
Answer How do I set my Branded Name Servers? 
Answer Specifying your Sign Out URL 
Answer Branding your Web-based and Port 43 Whois Lookup Results 
Answer Language Preferences 
Answer Can I display the ICANN logo on my SuperSite/website? 
Answer Integrate your Website's Login Form with the Control Panel 
Category Branding Caveats