Hi All,
After recently switching to the Quantum Vault payment module we noticed that some information we frequently use when speaking clients was not available under "Manage Credit Card Information" (the last 4 digits and card type).
I hacked together a script to keep everything updated and attached to this post is the function used to do the heavy lifting. To use this, simply configure your database connection info and feed the function a client id and it will populate the last 4 digits and type of card to the "Manage Credit Card Information" section of WHMCS.
It would be great to also populate the expiration date, but it seems those field are encrypted, and not reachable via the API.
Hope this can help someone else
-Randall
quantum.zip