View Full Version : modernbill multiple domains
theolatic
01-31-2006, 11:13 AM
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
Patrick
01-31-2006, 12:12 PM
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/adminhelp/english/Configuration/Order_Settings/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.
theolatic
01-31-2006, 05:31 PM
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:
https://www.domain.co.uk/order2/index.php?submit_domain=register&
aid=&c_code=&v=4&domains_m%5B%5D=register%7Cdomainnameonegoeshere%7 Ccom&domains_m%5B
%5D=register%7Cdomainnametwogoeshere%7Cco.uk&submit=next&submit_domain=register&aid=&c_code=&v=4&aid=&c_code=&submit=Continue
Patrick
01-31-2006, 11:12 PM
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:
<form action="/order/orderwiz.php" method="GET">
<input type="checkbox" name="domains[]" value="[[domain]]|[[ext]]"> [[domain]].[[ext]]
<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").
theolatic
02-01-2006, 02:37 AM
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
theolatic
02-01-2006, 06:36 AM
hey its ok! :D i fixed it im just passing it via the address bar.
thanks anyway
Patrick
02-01-2006, 12:29 PM
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.
Powered by vBulletin™ Version 4.0.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.