I am trying to insert some extra client details using WHMCS API's 'add client'.
However the insertion takes place , but the customfields gets no effect,when I checked in WHMCS client area.I have customfield[1],[2]...[5]
added as fields in client area.The code snippet is as follows
$postfields["action"] = "addclient";
$customfields = array(
'customfield[1]' => "ABC",
'customfield[2]' => "XYZ"
);
$postfields["customfields"] = base64_encode(serialize($customfields)
Please suggest a solution.