mithilavelishala Posted January 27, 2010 Share Posted January 27, 2010 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. 0 Quote Link to comment Share on other sites More sharing options...
jasonrs Posted February 12, 2010 Share Posted February 12, 2010 Can anyone out there help us with this? I have this same problem when adding the CC in the addclient api call. I'm pretty sure you should be able to add a CC in both the addclient AND updateclient api calls, but neither work. These are the fields I'm setting. cardtype cardnum expdate whmcs 4.1 0 Quote Link to comment Share on other sites More sharing options...
jasonrs Posted February 12, 2010 Share Posted February 12, 2010 Ok, I am able to update the cc with the updateclient api call. mithilavelishala, make sure you pass all these fields for the cc. cardtype cardnum issuenumber (the 3-4 digit number on the back.) expdate (pass this as just 4 numbers. the system puts the slash in for you.) startdate (not sure what this is, but pass the month and year the same as the expdate, no slashes) 0 Quote Link to comment Share on other sites More sharing options...
jasonrs Posted February 12, 2010 Share Posted February 12, 2010 It still doesn't let me provide a credit card in the addclient api call. anyone? 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted February 12, 2010 Share Posted February 12, 2010 issuenumber (the 3-4 digit number on the back.) Issue Number is *NOT* the CVV(2) code on the back of the card 0 Quote Link to comment Share on other sites More sharing options...
wifiguys Posted February 24, 2010 Share Posted February 24, 2010 In that case, how do you enter the CVV(2)? 0 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.