cosmin Posted June 23, 2018 Share Posted June 23, 2018 Hi! We made a custom module for tld domains registration and we have a problem. All .tld domains has nothing at field "Expiry Date", we imported and populated the field "Next Due Date" after a query to get expiry date. After every renewal WHMCS remove everything from "Next Due Date" and add the date today+nr of years renewals at "Expiry Date" What we need to do for "Next Due Date" update with new expiry date and ignore "Expiry Date" (or put the same data from "Next Due Date"? We tried something simple like $values['nextduedate'] = $expdate; $values['nextinvoicedate'] = $expdate; but nothing, I think value nextduedate is named different. Thank you very much! 0 Quote Link to comment Share on other sites More sharing options...
nasos75 Posted July 7, 2018 Share Posted July 7, 2018 You have to implement _Sync functions in your module. Then according to Setup/Domains/Sync Next Due Date, your dates will be updated. 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.