function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Suman KunduSuman Kundu 

Fetching erroneous and unwanted masked value

In our application, we keep a credit card number in account object. For security purpose, intially we encrypted the card info as card number masking. It shows the card number like XXXX-XXXX-XXXX-1111. But it was making a problem when we were fetching card number from batch process, the '-' sign still remains in the data.

 

So now we have changed tha masking type to last 4 digit masking. This is not showing the card number as previous (with '-' sign) in the account view. But in the batch code, it still appears with '-' sign. which is making me problem for successful gateway transaction.

 

It would be great, if anybody kindly help me.