Skip to content

Behaviour of WHMCS\Domains\DomainLookup\SearchResult::STATUS_UNKNOWN #11

@playmono

Description

@playmono

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:

image

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:

image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions