Book and Host Online Services
Please Login or Register

Knowledgebase

Integrate your Website's Login Form with the Control Panel

If you want to display a login box on your website from where your Customers and Sub-Resellers can login into their respective Control Panels, then you may integrate the following form on your website:


<form method="POST"
action="https://www.foundationapi.com/servlet/AuthenticationServlet" name="LoginForm">
<input type="hidden" name="redirectpage" value="null">
<input type="hidden" name="currenturl" value="http://<Your Control Panel Branded URL>">
<input type="hidden" name="pid" value="<Your Reseller Id>">
<input type="text" name="username" value="" size="30">
<input type="password" name="password" size="30">
<input type="hidden" name="role" value="<role>">
<input type="submit" value="Login" class="submit">
</form>
 

<Your Control Panel Branded URL> - Here you need to put your Branded URL, you can check the same from your Reseller Control Panel by going to Settings -> Storefront & Control Panel -> URL. Here you can either use the Partially Branded URL or the Fully Branded URL. Click here to learn how to Brand your Control Panel URL >>

<Your Reseller Id> - You can get your Reseller Id from your Control Panel by going to Settings -> Personal Information -> Primary Profile. Here the first field is the Reseller Id. You need to put this number in place of <Your Reseller Id>.

<role> - If you are integrating Sub-Reseller Login, then you need to put in role as "reseller" and if you want to integrate your Customer Login box, then put the role as "customer".

 


Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
About 2Checkout.com (Views: 322)

Powered by WHMCompleteSolution

Language:

Quick Navigation

Client Login

Email

Password

Remember Me

Search



Follow Us on Twitter