banar Posted November 23, 2010 Share Posted November 23, 2010 We are integrating WHMCS with our CMS/CRM. We try to allow clients to update their contact and billing info. We have no problems with contact info, but billing info is pain in the neck. WHMCS 4.3.1 We use update_client API function When client updates contact information everything works great and it's saved in WHMCS, but when client enters credit card number (example. 378282246310005) it looks like it's being saved but it's not, or it is but in wrong format. When I login to WHMCS and try to display client's credit card number it shows ************0005 and then after I enter hash to display full card number all I get is "¯a)-ØîéX•è ᪥n" without expiration date. Something is really going on in here. Any ideas how to fix it? Please help. 0 Quote Link to comment Share on other sites More sharing options...
nullcable Posted November 30, 2010 Share Posted November 30, 2010 I am having the same problem. when I update a CC with the API, it won't save the Expiration Date. 0 Quote Link to comment Share on other sites More sharing options...
banar Posted November 30, 2010 Author Share Posted November 30, 2010 Try to replace this file, upload it to includes/api. I got it from Matt. If you update clients contact details including email and payment information at the same time (using update_contact API function) then it will fail to save payment data properly. We replaced this file and it started to work. Let me know if it helped. updateclient.php.zip 0 Quote Link to comment Share on other sites More sharing options...
ak_amitkaushik Posted December 18, 2012 Share Posted December 18, 2012 i am also facing the the same problem. Actually i am trying to update cc details from a hook but somehow i am not able to update expdate in a proper format. I also tried with your updatecliet.php but no successed. 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.