cluster Posted October 25, 2021 Report Share Posted October 25, 2021 can someone help to make these whmcs declarations compatible with blesta? I've already adapted the first two for reseller_name & reseller_pass ... return apiRequest($params, [ 'reseller_name' => $params['user'] = $this->user_name, 'reseller_pass' => $params['password'] = $this->password, 'domain' => $params['domain'], 'hp_name' => $params['configoption1'], 'admin_name' => $params['username'], 'admin_pass' => $params['password'], 'fname' => $params['customer']['firstname'], 'lname' => $params['customer']['lastname'], 'firm' => $params['customer']['companyname'], 'zip' => $params['customer']['postcode'], 'city' => $params['customer']['city'], 'state' => $params['customer']['state'], 'country' => $params['customer']['countryname'], 'email' => $params['customer']['email'], 'phone' => $params['customer']['phonenumber'], 'street1' => $params['customer']['address1'], 'street2' => $params['customer']['address2'] ]); Quote Link to comment Share on other sites More sharing options...
cluster Posted October 27, 2021 Author Report Share Posted October 27, 2021 are my Blesta declarations correct in this part? 'reseller_name' => $params['user_name'] = $this->user_name, 'reseller_pass' => $params['password'] = $this->password, 'action' => 'create', 'domain' => $params['domain'], 'hp_name' => $params['package_name'], 'admin_name' => $params['username'], 'admin_pass' => $params['password'], 'fname' => $params['client']->first_name, 'lname' => $params['client']->last_name, 'firm' => $params['client']->company, 'zip' => $params['client']->zip, 'city' => $params['client']->city, 'state' => $params['client']->state, 'country' => $params['client']->country, 'email' => $params['client']->email, 'phone' => $params['client']->telephone, 'street1' => $params['client']->address1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.