Jump to content

Recommended Posts

Hi,

How do you prevent clients from renewing their domains at the prices set in the domain pricing table?  

 

ie. The client bought the domain for $10.00 last year - their renewal price when they bought it was $10.00  but we have since decreased the renewal price for *new* domains to $8.00 - we do not want existing clients to be able to renew the domains they bought for $8.00 

so the client should see the original price of their renewal cost -NOT the new cost for renewal via their client area.

 

Any way round this? 

Share this post


Link to post
Share on other sites
15 hours ago, pjs32 said:

How do you prevent clients from renewing their domains at the prices set in the domain pricing table?  

by disabling "Enable Renewal Orders" in general settings -> domains - that prevents them renewing on-demand and let's WHMCS automated invoicing take care of their renewals (at their current recurring price).

15 hours ago, pjs32 said:

Any way round this? 

other than disabling, the only other realistic option would be a hook that queries the database to get the client's current recurring price for each domain and allows them a 1 year renewal at that price (if within range), and/or create some formula for calculating multi-year recurring costs (which could be x by 1 year recur costs, or a descending percentage to discount additional years).

ultimately, it's not really a bug (by their definition), just VERY badly designed - users have complained about it for years since the feature was introduced... ideally, it should be using recurring costs, but I can understand why WHMCS took the shortcut of just using the 1-10 years prices as they're already easily accessible in the database and it saves creating additional options to determine how these renewals should be priced.

let me take a look at this tomorrow... it's fixable, but to do it justice, i'm not sure how much work is involved...

Share this post


Link to post
Share on other sites
31 minutes ago, brian! said:

by disabling "Enable Renewal Orders" in general settings -> domains - that prevents them renewing on-demand and let's WHMCS automated invoicing take care of their renewals (at their current recurring price).

other than disabling, the only other realistic option would be a hook that queries the database to get the client's current recurring price for each domain and allows them a 1 year renewal at that price (if within range), and/or create some formula for calculating multi-year recurring costs (which could be x by 1 year recur costs, or a descending percentage to discount additional years).

ultimately, it's not really a bug (by their definition), just VERY badly designed - users have complained about it for years since the feature was introduced... ideally, it should be using recurring costs, but I can understand why WHMCS took the shortcut of just using the 1-10 years prices as they're already easily accessible in the database and it saves creating additional options to determine how these renewals should be priced.

let me take a look at this tomorrow... it's fixable, but to do it justice, i'm not sure how much work is involved...

Thanks Brian - really appreciate it.

Share this post


Link to post
Share on other sites

Hi Brian,

Did you have a chance to look at this ?

I am sure there could be a good demand for this hook.. and at a cost if you wish! 

 

Share this post


Link to post
Share on other sites
21 hours ago, pjs32 said:

Did you have a chance to look at this ?

to be honest, I didn't get the chance on Sunday as I ended up having more commercial work to complete than I expected...

but your issue is linked with the other recent thread below and I plan to tackle both together as they'll slightly overlap... although the other thread should be simpler to solve (I haven't searched but pretty sure i've posted how to do it in the template previously), it will be a nice warm up for yours.

I will take a look at it this week for sure - I suspect on Thursday.

Share this post


Link to post
Share on other sites
On 10/8/2019 at 6:31 PM, brian! said:

to be honest, I didn't get the chance on Sunday as I ended up having more commercial work to complete than I expected...

but your issue is linked with the other recent thread below and I plan to tackle both together as they'll slightly overlap... although the other thread should be simpler to solve (I haven't searched but pretty sure i've posted how to do it in the template previously), it will be a nice warm up for yours.

I will take a look at it this week for sure - I suspect on Thursday.

No luck with this Brian?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By David Duarte
      Hello there,
      After a lot of thinking, here you have a template for the Upcoming Domain Renewal Notice that will cover all scenarios.
      Subject: Domain {$domain_name} is due to expire in {$domain_days_until_expiry} days Dear {$client_name}, Domain {$domain_name} is due to expire in {$domain_days_until_expiry} days - {if $domain_do_not_renew eq "0"}Auto Renew On{else}Auto Renew Off{/if}.  {if $domain_days_until_expiry eq "60"}{if $domain_do_not_renew eq "0"}As you have Auto Renew On, you will receive the renewal invoice 30 days before the expiration date.{else}If you would like to have the domain renewed, please access client area and turn On the Auto Renew option.{/if}{else}{if $domain_do_not_renew eq "0"}As you have Auto Renew On, you should have already received the renewal invoice. If you still didn't received the invoice, please contact our sales department. If you have already received the renewal invoice, please pay it as soon as possible to avoid the risk of domain expiration.{else}To renew the domain, please click on the following url {$domain_renewal_url}.{/if}{/if} {if $domain_days_until_expiry eq "7"}If domain {$domain_name} expires, the website and emails using this domain will no longer work.{/if} {if $domain_days_until_expiry eq "3"}If domain {$domain.name} expires, the website and emails using this domain will no longer work, and the domain may be available to be registered by someone else. WARNING: To renew an expired domain, when possible, you may have to pay a fee of up to $250.{/if}  
      Explanation
      If you have configured the First Renewal Notice to be sent 60 days prior to the expiration date, and the customer has Auto Renew On, here you have the content he will receive on that Notice:
      Dear Customer Name,
      Domain example.com is due to expire in 60 days - Auto Renew On. 
      As you have Auto Renew On, you will receive the renewal invoice 30 days before the expiration date.
       
      If you have configured the First Renewal Notice to be sent 60 days prior to the expiration date, and the customer has Auto Renew Off, here you have the content he will receive on that Notice:
      Dear Customer Name,
      Domain example.com is due to expire in 60 days - Auto Renew Off.
      If you would like to have the domain renewed, please access client area and turn On the Auto Renew option.
       
      If you have configured the Second Renewal Notice to be sent 30 days prior to the expiration date, and the customer has Auto Renew On, here you have the content he will receive on that Notice:
      Dear Customer Name,
      Domain example.com is due to expire in 30 days - Auto Renew On.
      As you have Auto Renew On, you should have already received the renewal invoice. If you still didn't received the invoice, please contact our sales department.
      If you have already received the renewal invoice, please pay it as soon as possible to avoid the risk of domain expiration.
       
      If you have configured the Second Renewal Notice to be sent 30 days prior to the expiration date, and the customer has Auto Renew Off, here you have the content he will receive on that Notice:
      Dear Customer Name,
      Domain example.com is due to expire in 30 days - Auto Renew Off.
      To renew the domain, please click on the following url {$domain_renewal_url}.
       
      If you have configured the Third Renewal Notice to be sent 7 days prior to the expiration date, and the customer has Auto Renew On, here you have the content he will receive on that Notice:
      Dear Customer Name,
      Domain example.com is due to expire in 7 days - Auto Renew On.
      As you have Auto Renew On, you should have already received the renewal invoice. If you still didn't received the invoice, please contact our sales department.
      If you have already received the renewal invoice, please pay it as soon as possible to avoid the risk of domain expiration.
      If domain example.com expires, the website and emails using this domain will no longer work.
       
      If you have configured the Third Renewal Notice to be sent 7 days prior to the expiration date, and the customer has Auto Renew Off, here you have the content he will receive on that Notice:
      Dear Customer Name,
      Domain example.com is due to expire in 7 days - Auto Renew Off.
      To renew the domain, please click on the following url {$domain_renewal_url}.
      If domain example.com expires, the website and emails using this domain will no longer work.
       
      If you have configured the Fourth Renewal Notice to be sent 3 days prior to the expiration date, and the customer has Auto Renew On, here you have the content he will receive on that Notice:
      Dear Customer Name,
      Domain example.com is due to expire in 3 days - Auto Renew On.
      As you have Auto Renew On, you should have already received the renewal invoice. If you still didn't received the invoice, please contact our sales department.
      If you have already received the renewal invoice, please pay it as soon as possible to avoid the risk of domain expiration.
      If domain example.com expires, the website and emails using this domain will no longer work, and the domain may be available to be registered by someone else.
      WARNING: To renew an expired domain, when possible, you may have to pay a fee of up to $250.
       
      If you have configured the Fourth Renewal Notice to be sent 3 days prior to the expiration date, and the customer has Auto Renew Off, here you have the content he will receive on that Notice:
      Dear Customer Name,
      Domain example.com is due to expire in 3 days - Auto Renew Off.
      To renew the domain, please click on the following url {$domain_renewal_url}.
      If domain example.com expires, the website and emails using this domain will no longer work, and the domain may be available to be registered by someone else.
      WARNING: To renew an expired domain, when possible, you may have to pay a fee of up to $250.
       
       
      I hope that this will be useful for someone.
      Best regards,
      David Duarte
    • By thisismatt
      I use Heart Internet as my registrar for now. They have a domain control panel which allows you to set a domain to renew automatically or not; you simply change a status between 'On expiry' (i.e. renew on expiry) or 'Cancel' (i.e. do not renew).
      Which instruction is actually followed if there is a difference between WHMCS and Heart?

      So, as an example - 
      In Heart's control panel, domain.com is set to new 'On Expiry'
      In WHMCS, domain.com is set to 'Disable Auto Renew'
      Will domain.com be renewed (because Heart believes it should) or not (because WHMCS believes it should not)?
    • By ScottN
      Sorry for the newbie question. I'm migrating to WHMCS from another billing system and have a question about the domain renewal process. My requirements:
       

      I would like customers to receive an invoice for domain renewals, unless they have chosen not to renew the domain.
       
      I would like the renewal invoice to be sent out 30 days before expiration.
       
      I would like the customer to have 30 days to pay the invoice.
      I'm trying to find the right settings to make this happen:
       
      Under Automation Settings > Billing Settings > Advanced Settings, I see "Domain Settings: Enter the number of days before the renewal date to generate invoices for domain renewals below: __ (Leave blank to use default setting)". It would seem prudent to enter 30 here.
       
      Under General Settings > Domains, I see "Sync Next Due Date: Enable - Number of Days to Set Due Date in Advance of Expiry: __" -- should I also put 30 here?
       
      I am open to opinions/suggestions on better ways to handle Domain Renewals!
       
      - Scott
    • By com2
      Under the Administrator Client Domain tab I find in the Management Tools section the option Disable Auto Renew. Is this a WHMCS feature that invoices are no longer automatically sent for renewal of the chosen domain? Or is this to deactivate the Registrar's Auto Renew feature (when supported)? Or is it both? I fact I would like WHMCS to send out invoices in time for domain renewal. At the same time I do not want to use my Registrar's Auto renewal function, because I want WHMCS to control the renewal process.
    • By gbotica
      I am trying to improve the content in my domain reminder emails, and I note the existence of this template tag: {$domain_do_not_renew} -- it would be great to include this in the reminder emails (seems odd that it is not already included!)
       
      How can I test the actual output of this tag in certain circumstances? For example, could I use it like this:
       

      {if $domain_do_not_renew}Domain Auto-renew DISABLED{else}Domain Auto-renew ENABLED{/if}
       
      Or, does this tag not output a boolean?
       
      Also, the domain renewal email template contains some variations, depending on whether there is multiple or single domains due for renewal (I can't find any reference to the $expiring_domains tag any where!). How would I implement the above into the looped instances below? Would $domain_do_not_renew still be available in the loops? Would it be {$domain.domain_do_not_renew}?
       

      {if $expiring_domains} {foreach from=$expiring_domains item=domain}{$domain.name} - {$domain.nextduedate} ({$domain.days} Days) {/foreach} {elseif $domains}{foreach from=$domains item=domain}{$domain.name} - {$domain.nextduedate} {/foreach} {else}{$domain_name} - {$domain_next_due_date} ({$domain_days_until_nextdue} Days){/if}
       
      Any assistance greatly appreciated.
       
      - - - Updated - - -
       
      Just found this thread: http://forum.whmcs.com/showthread.php?105031-Domain-Auto-renew-status
       
      Looks like maybe it would be $domain.autorenew
       
      Can anyone confirm whether this will work?
  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

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