-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Premium Domain Issues (at Regular Price / Unavailable) #272
Comments
Do you have premium domains enabled in WHMCS? |
Are you also using the module as the lookup provider? |
Good Day @x011! Thanks @DennisSkov for helping here with the initial step for premium domain support! :-) Related Resources:
The last resource is pointing us to a sample registrar module/integration. Let me point you to the related lines of code for a better understanding regarding the technical mechanism behind all that: Here, WHMCS asks the underlying Registrar Module to include the premium domain pricing in the availability check which means we as registrar have to return a pricing with the related currency. We cover that via CentralNic Reseller API in the following way using CheckDomains: Here, you see that the premium price the respective reseller will pay, is returned and this is what we return to WHMCS. Let us come back to the pricing we return to WHMCS. You noticed that we are returning that pricing in a specific currency. Here it starts getting weird... If this currency is not configured in WHMCS, WHMCS will show it as available but for the regular pricing (and this will be ending in an error finally as the order will be about that price and about a non-premium domain, luckily that order won't be processed by the CNR API). If it is returned as unavailable, then I guess there's something missing regarding the account settings in your CNR account. The important points to cover are here:
Especially the last two points are different to other registrars like HEXONET and often not known / self-explaining. Login in to your account and go to your account settings (click on your account name at top right): TLDs can be configured in the CNR Frontend by selecting Hope that detailed information helps! Kind Regards |
Sorry for all the updates I made, but now the response is complete. 💯 |
I wasn't aware that I needed to activate the Premium Domains on the CentralNic Resellers dashboard. Once this was activated, the premium domain feature functioned properly on WHMCS. Thank you so much, @KaiSchwarz-cnic and @DennisSkov. |
Describe the bug
Premium Domains shown as available at regular price
To Reproduce
Steps to reproduce the behavior:
Search any premium domain.
Expected behavior
Create a setting on module to enable or disable premium domains. Show the correct price if enabled.
Context (please complete the following information):
The text was updated successfully, but these errors were encountered: