Q:I have my own domain availability script that is not currently integrated into whmcs, but I would like to be able to link the user to whmcs in order to purchase it. The problem is that if I use "cart.php?a=add&pid=1&sld=example&tld=.com" as have seen suggested by others, it pretty much checks availability again and has the user select the domain if they want to purchase it. They already did that step with my script. Any suggestions for remotely adding a domain to a users cart, but a little farther down the line in the purchase process so it doesnt have to be searched/selected again?

 

A:

this can be done this way, i tried it but you need to make tests too:

 

http://demo.whmcs.com/cart.php?a=add&domain=register&domains[]=typeyourdomainhere.com&domainsregperiod[typeyourdomainhere.com]=1

VIA.https://whmcs.community/topic/231181-add-domain-to-cart-without-additional-search/