Jump to content

redemption renewal management


Remitur

Recommended Posts

Few weeks I've enabled the new "grace period" and "redemption period" features, and first questions arising.

  • A domain expires and enter in grace period.
  • customer renews it
  • the domain is in grace period, so the registrar module process an ordinary renewal; 
  • everything works fine, everyone is happy.

Another scenario:

  1. A domain expires and enter in grace period.
  2. grace perod expires, and so domain enters in redemption mode
  3. customer renews it, paying the redemption fee (good!)
  4. but the registrar module process an ordinary renewal, which doesn't work; so domain is not really recovered and renewed

Depending on how works the registrar module involved, we can have two different situations:

A - the registrar module get an error (and we'll find it in "to do" list, and/or in "pending module actions"

B - other registrar modules do not get any error, update the domain expiring date in tbldomains, and we have no alert about this missed/wrong renewal

For third party modules, the fix is simple: raise a ticket to the developer, and wait until he fix it somehow... :D

But for self developed registrar module, the question is: does exist any way to  discover that WHMCS is processing not an ordinary renewal, but a redemption?

In the standard functions available. there's nothing about this: https://developers.whmcs.com/domain-registrars/function-index/

A way could be as follow:

- when the function RenewDomain is called, before the renewal check the status of the domain: if == redemption, then perform redemption else perform standard renew

But there's an issue: I'm not sure that the customer effectively paid for a redemption fee, instead of a standard renewal...

Any idea ? :wall1:

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.

×
×
  • 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