Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.5.1
-
Fix Version/s: 5.7.0-b1
-
Component/s: Plugins, Staff Interface
-
Labels:None
Description
Right now the Domains widget on a client profile page in the admin area has a "Renew Domain" bulk option similar to services, except that you type in the # of years that the domain should renew. This defaults to 1, and with 1 it works fine. However, if you select "2" then the invoice is the 1 year price * 2. After it is paid, the domain is renewed for only 1 year because the domain's term is 1 year.
Instead, we should do the following:
- Validate the term entered. If 2 is entered, there should be a 2 year price set for the TLD.
- Update the term for the domain to the desired term, e.g. 2 in our example
- Invoice for the 2 year price for the domain
- Once the invoice is paid and the task runs the domain should be renewed for the desired number of years with the registrar, as the term is set to this value.
This task is dependent on https://dev.blesta.com/browse/CORE-4750 to prevent the term from being switched prior to the module renewal occuring.
Issue Links
- is blocked by
-
CORE-4750 Domain Manager: Change Domain Term ignore if there are any open invoices for the domain
- Closed