Chargent Support Center


How can I see the Expiration Date and Last 4 digits of a credit card?

How can I see the Expiration Date and Last 4 digits of a credit card? 

Credit card numbers and expiration dates are stored in encrypted fields in Salesforce, meaning they appear as a series of asterisks after being saved. If a card is tokenized you may choose to have it deleted from the Salesforce database (as determined by the Credit Card Handling field on the Gateway).

Chargent provides several fields to help you see the expiration date and last 4 digits of a credit card, for identification purposes with your customers or to use in other flows or automated processes within Salesforce.

Card Details is a Visualforce field that shows the card type, last 4, and expiration date, with color coding based on how close the expiration date is (green if more than 2 months away, yellow if within 30 days, red if already expired).

There are also several unencrypted text fields designed to be used for Salesforce workflows: 

Card Expiration Month Indicator Card Expiration Year Indicator Card Last 4


Related Articles

996e33de7bae3639f2380ddcfaf383d7@chargent.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete