+ Reply to Thread
Results 1 to 7 of 7

Thread: modernbill multiple domains

  1. Join Date
    Jan 2006
    Posts
    9

    modernbill multiple domains

    Hi there, i have modernbill installed and i have changed ep-dev whois to show the available domains as checkboxes, i want to know if there is a way i can pass multiple domain name through to modernbill so if more than one domain is available they can be registered atthe same time?


    thanks alot

    Jamie

  2. Join Date
    Aug 2004
    Posts
    781

    Re: modernbill multiple domains

    I don't know if modernbill can handle multiple domains.

    I think that in order to even attempt it, you would have to use ModernBill's Order API: http://manual.modernbill.com/adminhe.../Order_API.htm

    The pack_id for domain registration is technically 1 (with billing term of 12 or 24 I guess), but I do not know if that is valid for the order form api, since the domain registration package (pack_id = 1) is an internal package.

    If that isn't valid for the order form, I suggest riding MB's ass for this functionality in the new version 5, which is set to be fully released within a few months.

  3. Join Date
    Jan 2006
    Posts
    9

    Re: modernbill multiple domains

    Hey there, can it not be added to the domain name? i know the domain itself carries the domains forward in modernbill. such as ?$domain1=whatever&ext=com&domain2=whatever&ext=co .uk. something like that, i cant remember off the top of my head.

    [edit: this is the actual domain]
    yes i would like to pass the available domains to here:
    Code:
    https://www.domain.co.uk/order2/index.php?submit_domain=register&
    aid=&c_code=&v=4&domains_m%5B%5D=register%7Cdomainnameonegoeshere%7Ccom&domains_m%5B
    %5D=register%7Cdomainnametwogoeshere%7Cco.uk&submit=next&submit_domain=register&aid=&c_code=&v=4&aid=&c_code=&submit=Continue

  4. Join Date
    Aug 2004
    Posts
    781

    Re: modernbill multiple domains

    Well, this is as simple as setting up your form correctly in EP-Dev Whois:

    Here is an example for using orderwizard (orderwiz.php) for what the available domains template would look like in EP-Dev Whois:

    Code:
    <form action="/order/orderwiz.php" method="GET">
    [repeat]
    <input type="checkbox" name="domains[]" value="[[domain]]|[[ext]]"> [[domain]].[[ext]]
    [/repeat]
    <input type="hidden" name="submit_package" value="domain">
    <input type="hidden" name="coupon_code" value="">
    <input type="hidden" name="submit_domain" value="register">
    <input type="submit" name="submit">
    </form>
    I recommend using orderwizard. However, you can achieve the same results with MB's vortech form by changing domains[] to m_domains[] in the code above while adding in the other variables as hidden (such as "aid", "c_code", etc... just as I did with "submit_package", "coupon_code", and "submit_domain").

  5. Join Date
    Jan 2006
    Posts
    9

    Re: modernbill multiple domains

    Hey there thats great, would it be possible to explain in a little mroe detail please?. where is orderwiz?

    Also would that work for sending more than one domain at a time?

    thanks so much

    Theo

  6. Join Date
    Jan 2006
    Posts
    9

    Re: modernbill multiple domains

    hey its ok! i fixed it im just passing it via the address bar.

    thanks anyway

  7. Join Date
    Aug 2004
    Posts
    781

    Re: modernbill multiple domains

    Quote Originally Posted by theolatic
    Hey there thats great, would it be possible to explain in a little mroe detail please?. where is orderwiz?

    Also would that work for sending more than one domain at a time?

    thanks so much

    Theo
    orderwiz.php is the file for the orderwizard, Modernbill's preferred order form (instead of vortech, which is what you are using).

    I already explained it in detail fairly well I think. As already stated (and by my example), this is easily accomplished by simply changing the template in EP-Dev Admin Panel. As already noted, you have to remember to include hidden input fields for all the extra variables that MB wants you to pass in.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts