Jump to content

Free Domain with billing cycle > 1 year


godzillante

Recommended Posts

Hello,

sorry if I bring up an old (and maybe solved) issue but it's a problem for me.

 

I've correctly set up free domain for some TLDs in association with some hosting plans, and as time went by I realized a strange behaviour.

 

- if a customer adds to cart e.g. "hosting plan X" with 1 year billing, and "somedomain.com" for 1 year, then everything is as expected (cart displays hosting plan X with 1-year fee and somedomain.com for 1 year with $0 price).

 

- if a customer adds "hosting plan X" with 2 years billing and "somedomain.com" for 1 year, it's ok as above (cart displays, as expected, hosting plan X with 2-year fee and somedomain.com for 1 year with $0 price)

 

- but if a customer adds "hosting plan X" with 2 years billing and "somedomain.com" for 2 years (because he wants to have it registered for 2 years), then cart displays hosting plan X and somedomain.com for 1 year with $0 price. 2 years registration period is, in other words, ignored.

 

I know a possible workaround is to set up a promo code, but I can't do it because we are already using some other promo codes and you can't use more than one per cart.

 

Another workaround could be using product bundle but often it doesn't work properly, plus I should setup n*m bundles where n is number of TLDs and m is number of products I want to apply the free domain to.

 

final note: I'm using WHMCS 5.2.17, maybe has this already been solved in 5.3.x?

 

any help is appreciated, thank you in advance!

 

Franesco

Link to comment
Share on other sites

Hi Franesco,

 

i've quickly tried this on v5.3.6 and I can see your issue.

 

the problem appears to be that it's defaulting to the minimum registration period for the tld... so when I tried it with a .uk domain it worked correctly (as we register them for 2 yrs)...

 

http://prntscr.com/3ah8hv

 

tried it with a .com (with pricing setup for 1 & 2 years) and as you found, it defaults to using the minimum reg period of 1 year.

 

however, reading the reply from WHMCS John in the thread below gives some clarification...

 

http://forum.whmcs.com/showthread.php?33960-Free-domain-billing-cycle

 

The free domain will always be registered for 1 year. After the first year it will be renewed automatically for the second.

If the client doesn't renew the product at the end of the 2nd year, the domain will not be renewed.

I assume he actually means the domain will always be registered for the minimum registration period - which might be 1, 2 or more years depending on the tld.

 

if so, it might be worth either explaining this on your site before ordering, or perhaps modifying viewcart to remove the period length for free domains.

 

{if $domain.price neq "£0.00"} - {$domain.regperiod} {$LANG.orderyears}{/if}<br />

obviously, modify the £0.00 for your currency prefix and suffix.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated