Jump to content

MarshallEvans

Member
  • Posts

    2
  • Joined

  • Last visited

About MarshallEvans

MarshallEvans's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hello, I am trying to build a migration script from another system. Can anyone tell me if there is a better set of docs from WHMCS that will help figure this out? Specifically: We are adding existing domains to the system. We would like to be able to define the domain parameters such as expiredate, nextrenewaldate, and the registrar, as well as things like the order status set to "Active" instead of pending by default. The docs do not show these options for the "addorder" function Do I need to use "updateclientproduct" or something else to add these fields, ~after~ the order is created? We use two registrars and would like to be able to (at least) set the expiredate for the domain and the registrar when we add the order and set the status to "Active" so it does not show up in the Pending Orders list. If anyone has more information on what additional parameters the "addorder" API command takes, please advise Thank you very much
  2. I have run into this oddity: In WHMCS, on the Products/Services page for a client, often the Password field is blank for their hosting service. If I try to add the correct password, WHMCS return with "Module Command Error failed: missing arguments: new_password" A look in the module debug log show that it tried to reset the password without including it: e.g. /xml-api/passwd?user=someUser&pass=<NOTHING> If I have used the "Create" module function, the password is there, but if I attempt to change it in this case, the module will ignore whatever is typed in the box and instead report "success" - even though in fact it has just reset the password to the original one showing. In other words it is again ignoring the entry in the box. Another side effect is, if you are trying to include the control panel (cPanel) password (using $service_password ) in an email to the client, it will use whatever shows in the WHMCS box - which will be either blank for those people whose passwords do not show in WHMCS or the supposedly correct that does show. Also, if the password is changed directly in cPanel/WHM - this password does not show up in WHMCS and it is not able to be used in notification emails either. Has anyone seen this behaviour before? Any ideas on how to fix? Additional info though: both WHMCS and cPanel are up to date versions Version: WHMCS v5.2.4 and cPanel/WHM v11.36.1 In the rendered version of the clientsservices.php page the "Change Password" button executes runModuleCommand('changepw') onClick The only variable on the page that looks password-like is the "password" form field Like I said though this variable is either not being passed to the command interpreter runModuleCommand('changepw') or it is being ignored by same. The module debug log shows a simple request: /xml-api/passwd?user=SomeUser&pass=SomePassword But the password in this request is not coming from the clientsservices.php page - as far as I can tell passwords for hosting accounts seem to be stored in the WHMCS.hosting table as hashes ... maybe WHMCS has a problem decrypting these if it has not created them? Does it use a different library than cPanel? BTW: both systems WHMCS and cPanel are running on the same physical server Any help would be much appreciated
×
×
  • 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