I'm developing some modules for WHMCS and I noticed some inconsistency behaviour using WHMCS\Domains\DomainLookup\SearchResult::STATUS_UNKNOWN.
When I Check Availability from Client Area (through CheckAvailability function), if I return STATUS_UNKNOWN, Client Area says that that domain is unavailable:
However, in suggested domains, when that domain shows up to be checked (consequently to call CheckAvailability function again), if I return STATUS_UNKNOWN, it allows me to add to the cart:
Conclusion: When I return STATUS_UNKNOWN for a domain, I can't register it through the regular way but I CAN register it through suggested domains.
I don't know if I'm missing something... Can someone clarify this?
Hi,
I'm developing some modules for WHMCS and I noticed some inconsistency behaviour using
WHMCS\Domains\DomainLookup\SearchResult::STATUS_UNKNOWN
.When I Check Availability from Client Area (through CheckAvailability function), if I return
STATUS_UNKNOWN
, Client Area says that that domain is unavailable:However, in suggested domains, when that domain shows up to be checked (consequently to call
CheckAvailability
function again), if I returnSTATUS_UNKNOWN
, it allows me to add to the cart:Conclusion: When I return
STATUS_UNKNOWN
for a domain, I can't register it through the regular way but I CAN register it through suggested domains.I don't know if I'm missing something... Can someone clarify this?
Thank you.