Dan97 Posted June 11, 2018 Share Posted June 11, 2018 Hello Everyone, We are currently setting up an integration with wordpress and I am pretty much there bar one thing that I can't seem to get my head around. I have 2 products, a free product and a paid for product. All my customers will signup for a free product first and then upgrade to the paid product after 14 days. What I need to happen is when a customer signs up for the free product, they only have the option to choose a subdomain but when they upgrade to the paid account they then can pick a domain to register as well. I don't want free users purchasing a domain. The guys over at support suggested using this hook https://developers.whmcs.com/hooks-reference/shopping-cart/#shoppingcartvalidatecheckout I am new to whmcs and hooks so not sure where to start or how hooks even work. I have read up on the documentation and am still unclear. Is anyone around able to help me get a hook sorted so that if they try and register a domain on a free package it returns a "friendly" error. A better alternative would be to not display the domain register bit when signing for a free account and only show it when signing up for a paid account. Any Help Appreciated. Dan 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.