mithilavelishala
01-27-10, 08:01 PM
Hi,
I am trying to update the credit card details for a client through the WHMCS API.
$postfields["username"] = $username;
$postfields["password"] = md5($password);
$postfields["action"] = "updateclient";
$postfields["clientid"] = $cid;
$postfields["cardtype"] = $input["card_type"];
$postfields["cardnum"] = $input["cardnumber"];
$postfields["expdate"] = $input["expiration_month"]."/".$input["expiration_year"];
But the credit card details are not being updated. Does WHMCS still support this functionality??
Thanks,
Mithila.
I am trying to update the credit card details for a client through the WHMCS API.
$postfields["username"] = $username;
$postfields["password"] = md5($password);
$postfields["action"] = "updateclient";
$postfields["clientid"] = $cid;
$postfields["cardtype"] = $input["card_type"];
$postfields["cardnum"] = $input["cardnumber"];
$postfields["expdate"] = $input["expiration_month"]."/".$input["expiration_year"];
But the credit card details are not being updated. Does WHMCS still support this functionality??
Thanks,
Mithila.