msgbartop
Gossimer’s Premier Web Hosting and Domain Registration Knowledgebase.
msgbarbottom

29 Jul 10 Emulating API Calls

 

IMPORTANT 

Ensure that you have read the following documents before Emulating any API call:


You may emulate any API call without actually installing any of the API Kits, on our server itself by following the below mentioned process:

1. Login into your Reseller Control Panel from http://manage.gossimer.biz/reseller

2. Click on the relevant Kit mentioned within Settings -> API -> Emulate API Calls

3. Fill in the relevant details in the top-frame by referring to the below mentioned link -

Read This FIRST – General API Integration Instructions

Note – If you wish to view the XML Sent and Received at the client-side, choose to print the XML Sent/Received. This will enable you to view the simulation of the XML sent by your server to our server and our server’s response thereof.

4. Select the API Method that you chose to Debug previously in the left frame and enter the relevant details in the right frame and emulate the API Call.

5. If you chose to print the XML Sent/Received previously, you will be able to view it in the right frame (after you make an API call). You may wish to save this for debugging later on.

Tags: , , , , , , , , , , , , ,

04 Jul 10 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://manage.gossimer.biz/reseller

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

3. You will be presented with three 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 querystring 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 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 querystring 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 querystring in this case will be – <YOUR_SPECIFIED_CUSTOM_URL>?p=<PRODUCT>&tid=<AUTHENTICATION_KEY>

The variables passed as query strings are explained 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 Registration

 

Product (p) Product Name
domainfwd Domain Forwarding
mailfwd Mail Forward
dns Managed DNS

 

Product (p) Product Name
hosting Web Hosting
email Email Hosting

 

Product (p) Product Name
sitebuilder Website Builder

 

Product (p) Product Name
engage Live Chat

 

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.
 

III. Storefront

This Storefront is being deprecated and it is advisable that you begin migrating to one of the options mentioned above. If however, you select this option, then you and/or your Customers will be re-directed to the product purchase links on your Storefront from their Control Panel.

Click here to know how to setup your Storefront >>

Tags: , , , , , , , , , , , , , , , , ,