Jump to content

credit card update API problem


banar

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated