Jump to content

decrypt client CC details


PixelPaul

Recommended Posts

Hello,

Does anyone know the code to decrypt the clients Credit Card details. the date and number ( which i believe is where the stripe token is saved too )

I want to implement a new stripe payment method, but i can not get the token as it is encrypted. i have the hash from my config to do it,  just not sure how.

Link to comment
Share on other sites

Gateway tokens are stored in the gatewayid property of WHMCS\Userr\Client object and named slightly different IIRC in API calls and in the database.  If you're already using Stripe, then the card details beyond the expiration should not be stored.    Didn't look to hard on decrypting by script and inputting via API as that requires the full PCI forms. 

Link to comment
Share on other sites

If you are using stripe I believe the idea of the tokens is that CC details are not stored on your database/site in the first place. Only a token is stored on your site, and the last 4 numbers and expiration date. The full CC details are stored on Stripe. The token is only used to identify the CC/customer details in order to bill them. If what I stated is correct, you cannot decrypt anything because no CC details are stored on your database. That way, if your database or sites get compromised, there is no financial data stored on your server.

Link to comment
Share on other sites

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