-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hello,
I am trying to get the id of a just created subscription in order to use in the creation of a database. However I can't get the id and in var_dumb($info) it returns false. Here is my code:
`
$paramsPleskSubscription = array(
'domain_name'=>$company.'.example.com',
'username'=>$email,
'password'=>$password,
'ip_address'=>'99.99.99.99',
'owner_id'=>$clientPleskId,
'service_plan_id'=>$service_plan_id,
);
$requestSub = new \pmill\Plesk\CreateSubscription($config, $paramsPleskSubscription);
$info2 = $requestSub->process();
var_dump($info2);
$subscriptionId=$requestSub->id;
echo "subscription:".$subscriptionId;` //it returns nothing
Any ideas? Thank you in advance
Metadata
Metadata
Assignees
Labels
No labels