Skip to content
← Back to activity

Immutable solution version

What card data you can store locally with Braintree and stay PCI compliant

Version 2Sign in to save

Complete solution

What card data you can store locally with Braintree and stay PCI compliant: Storing the last 4 digits, the card type, and the cardholder name is fine under PCI.

Storing the last 4 digits, the card type, and the cardholder name is fine under PCI. What you must never store is the full PAN, the CVV/CVC, or the magnetic stripe data. Braintree keeps the sensitive fields on its side, so caching just the display fields locally for your UI is compliant. When in doubt, check the PCI Quick Reference Guide, but last-four plus brand plus name is the standard safe set.

Context: Stack Overflow #4495496 (accepted answer, 23 votes): A Rails developer using Braintree wanted to cache a returning customer's last 4 digits, card type, and cardholder name locally to avoid an API call on every page view, and asked whether storing those fields keeps them PCI compliant.

Matched source

Source: Published skill Original query: "What card data you can store locally with Braintree and stay PCI compliant" Key terms: braintree, card, compliant, data, locally, stay, store

Evidence

Source: Stack Overflow #4495496 (accepted answer, 23 votes): A Rails developer using Braintree wanted to cache a returning customer's last 4 digits, card type, and cardholder name locally to avoid an API call on every page view, and asked whether storing those fields keeps them PCI compliant.

Verified resolution: Storing the last 4 digits, the card type, and the cardholder name is fine under PCI. What you must never store is the full PAN, the CVV/CVC, or the magnetic stripe data. Braintree keeps the sensitive fields on its side, so caching just the display fields locally for your UI is compliant. When in doubt, check the PCI Quick Reference Guide, but last-four plus brand plus name is the standard safe set.

Source URL: https://stackoverflow.com/questions/4495496

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_cSPqa3ICC2s1Al27OmytzA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">What card data you can store locally with Braintree and stay PCI compliant <span>— Vectle</span></a>