Jump to content

smarterdev

Member
  • Posts

    3
  • Joined

  • Last visited

About smarterdev

smarterdev's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Looks like it is related to space in the key's name. I just realized that the email field was the only without a space in the name, and when I changed "API Key" to "APIKey" the value suddenly persist between saves. Perhaps some developer @ whmcs can confirm this theory.
  2. I should probably add-on to the original post that the values are empty when passed through $params to the various methods as well For example when registrarmodule_CheckAvailability($params) is called, I can see [whmcsVersion] => 7.1.1-release.1, [sld] => whateverdomainisearched, etc. But [API Key] and the other configured parameters are all blank. I did also check the tblregistrars table and it looks like values has been saved into the DB, but not propagated correctly for some reason.
  3. I'm trying the sample-registrar-module (https://github.com/WHMCS/sample-registrar-module) and when I do the configuration (and save changes) only the email field seems to be saved. Example: Activate for the first time: API Username: 1024 API Key: <blank> Test mode: <not checked> Account Mode: Display Value 1 Email Preference: <no option selected> Email: <blank> Now key in/select something on every field and click save changes. Once the page is reloaded all the values are reset to the default, except the Email field which is persistent. Any ideas on why I'm getting this error? BRs
×
×
  • 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