Jump to content

silverspring

Member
  • Posts

    12
  • Joined

  • Last visited

About silverspring

silverspring's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hi, i was using an external app to modify tblhosting table but it messed on some nextinvoicedates columns (nextinvoicedates increased). Is it safe to set nextinvoicedate = nextduedate or it can be some side effects like duplicate invoices? Thank you
  2. Hi John We are finally merged 2 companies but after a day later with cron its started to create invoices from merged companies clients back to 2008.We are end up like 13000 invoices with angry customers about invoice mails.I checked tblhosting and tblinvoices for false duedate records but cant find anything wrong about that tables. I send support ticket but we cant provide any login details.
  3. John i tested and it seems works very very fine. But it didn't import currencies. Both whmcs have different currencies with id = 1 and imported database just used main whmcs currency.
  4. Atleast give us merge script source code so we can try to figure out.
  5. Hi after 6.3 password encryption changed. Thanks to that it broke my custom api calls and cant figure out how it works. For now i tried this way; $whmcsSix = password_hash($credentials['password'], PASSWORD_BCRYPT); if (password_verify($user->password, $whmcsSix)) { return true; } It is not working so far. password_hash() function has lot of options. Can you give more information about new password encryption algorithm?
  6. Finally fixed.It seems getclientpassword diffrent than others.Above example, as you can see i create query string and its a get request userid must be post.Even so it seems a bit buggy.Without posting userid i can get wrong users password.
  7. Hi @klan Here i am using external api, here is my code but i did try with rest clients like postman too. WHMCS::getClientsPassword(12345) <?php public function getClientsPassword($identity,$params=[]) { is_int($identity) ? ($params['userid']=$identity) : ($params['email']=$identity); $response= $this->getJson('getclientpassword',$params); return !$response ?: $response->body->password; } <?php public function getJson($action,$params=NULL) { $data=[ 'action'=>$action, 'responsetype'=>'json' ]; $data = ($params===NULL) ?: array_merge($data,$params); $response = Request::get($this->dataUrl($data)) ->expectsJson() ->send(); if($response->body->result!='success') { return false; } return $response; } $this->dataUrl simply generates url like https://mywebsite.com/includes/api.php?username=<myusername>&password=<myMd5HashedPass>&action=getclientpassword&userid=12345
  8. Hi, i have 3 active whmcs website and i am developing a package to handle some of our needs. I was trying to get users password with http://docs.whmcs.com/API:Get_Clients_Password But it seems not working; I tried for my first website and it is returns wrongs users password.Checked so many times. I tried for last 2 website and api cant find user at all.( Client ID Not Found ) I tried for both userid and password nothing has changed.I dont want to create custom api function.So any idea?
  9. Hi , i am trying to use AutoAuth feature of whmcs but its not working properly ; its login user but its not redirect.So i am getting blank page.
×
×
  • 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