How do I link directly to a package in iPanel v3.5+ or iHost 2.5+?

Question:

Q: How do I link directly to a package in iPanel v3.5+ or iHost 2.5+?

Answer:

The package selection page requests both the package and payment period from the user in a single step, so your URL must include both the package ID and the payment period as follows:

http://www.example.com/ipanel/order/?period=PERIOD&packageid=PACKAGEID

PACKAGEID should specify the ID number of the package to which you're linking. The package ID can be obtained by editing a package and looking in your browser's URL field -- the end of the URL should show &id=XXXX, where XXXX is the ID number for the package.

PERIOD should specify any one of the following:

monthly
quarterly
biannually
annually
years2
years3
years4
years5
years6
years7
years8
years9
years10

So for example, to order package ID number 10 on a quarterly renewal basis, the URL might be:

http://www.example.com/ipanel/order/?period=quarterly&packageid=10

Note that you can also create custom HTML forms to allow the user to pick his own payment period for a specific package. For example:

<form method="POST" action="http://www.example.com/order/">
  <input type="hidden" name="packageid" value="PACKAGEID" />
  <select name="period" size="1">
    <option value="monthly">Monthly</option>
    <option value="quarterly">Quarterly</option>
    <option value="biannually">Biannually</option>
    <option value="annually">Annually</option>
    <option value="years2">2-Year</option>
    <option value="years3">3-Year</option>
    <option value="years4">4-Year</option>
    <option value="years5">5-Year</option>
    <option value="years6">6-Year</option>
    <option value="years7">7-Year</option>
    <option value="years8">8-Year</option>
    <option value="years9">9-Year</option>
    <option value="years10">10-Year</option>
  </select><br />
  <input type="submit" value="Order this package" />
</form>