Jump to content

Custom domian reg module problem with next due date


Recommended Posts

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!

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

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

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