Every online store that takes card payments has to comply with the Payment Card Industry Data Security Standard (PCI DSS). This guide covers what the standard is, why it matters for ecommerce, its 12 requirements in their current v4.0.1 wording, and the practices that keep an online store compliant between assessments.
What PCI DSS is
PCI DSS is a set of security requirements for every organization that accepts, processes, stores or transmits payment card data. It applies to a one-person online shop and to a marketplace taking orders in dozens of countries. Size changes how compliance is assessed and reported. The requirements apply either way.
Before PCI DSS, Visa, Mastercard, American Express, Discover and JCB each ran their own card security program. They released version 1.0 of a shared standard in December 2004, and in 2006 the same five brands founded the PCI Security Standards Council (PCI SSC), which maintains the standard and publishes it in its document library.
The current version is PCI DSS v4.0.1, published in June 2024. It is a limited revision of v4.0, which was retired on 31 December 2024, and it adds or removes no requirements (PCI SSC). If your security policies still quote v3.2.1 wording, such as "install and maintain a firewall configuration", they are out of date.
What it means for an online store
For ecommerce, the part of PCI DSS that catches most merchants out is the checkout page. An attacker who gets a script onto that page can copy card numbers as customers type them, which is known as e-skimming. PCI DSS v4.0 added requirements 6.4.3 and 11.6.1 for this: every script on the payment page must be authorized and checked for integrity, and the page, including its security-impacting HTTP headers, must be monitored for tampering (PCI SSC).
Why PCI compliance matters for ecommerce
Online shoppers hand their card details to a website without meeting anyone, so failing to secure customer data damages trust in the shop directly.
PCI DSS is enforced by contract. The card brands require it through the acquiring banks that let merchants accept cards. A merchant that falls out of compliance, or suffers a breach, can face card brand fines passed on by its acquirer, higher processing fees, the cost of a forensic investigation and, in the worst cases, the loss of its ability to accept cards. Data protection laws, such as the GDPR in the EU, can add their own penalties when a breach exposes personal data.
The most effective way to reduce that exposure is to hold less card data. Every system that stores, processes or transmits card numbers is in scope for PCI DSS, along with the systems connected to it. The fewer of your systems touch card data, the fewer controls you have to apply and evidence each year.
The 12 PCI DSS requirements
PCI DSS v4.0.1 organizes its controls under 12 principal requirements. The names below are the v4.0.1 wording. Each one breaks down into many sub-requirements in the standard itself.
| # | Requirement | What it means for an online store |
|---|---|---|
| 1 | Install and maintain network security controls | Firewalls restrict traffic to the systems that handle card data |
| 2 | Apply secure configurations to all system components | Change vendor default passwords and settings, and switch off services you don't use |
| 3 | Protect stored account data | Store as little card data as you can and make it unreadable |
| 4 | Protect cardholder data with strong cryptography during transmission over open, public networks | Use current TLS on the checkout and on every connection that carries card numbers |
| 5 | Protect all systems and networks from malicious software | Run anti-malware on systems at risk and keep it up to date |
| 6 | Develop and maintain secure systems and software | Patch known vulnerabilities, write secure code and control the scripts on your payment page |
| 7 | Restrict access to system components and cardholder data by business need to know | Only staff who need card data for their job can reach it |
| 8 | Identify users and authenticate access to system components | Give each user a unique ID and use multi-factor authentication |
| 9 | Restrict physical access to cardholder data | Lock away servers and paper records that hold card data |
| 10 | Log and monitor all access to system components and cardholder data | Keep audit logs and review them, so you can see who accessed what |
| 11 | Test security of systems and networks regularly | Run scans and penetration tests, and watch the payment page |
| 12 | Support information security with organizational policies and programs | Keep a written security policy, train staff and maintain an incident response plan |
Implementing PCI compliance best practices
The requirements say what has to be true. The practices below are how online stores make them true day to day.
Ensuring a secure network
Requirements 1 and 2 start with network security controls, typically firewalls, between the internet and every system that handles card data, allowing only the traffic each system needs. Then change every vendor-supplied default, from platform admin passwords to database accounts. Default credentials are printed in vendor manuals, and attackers try them first.
Keep an inventory of what your store exposes to the internet, including platform plugins and third-party scripts, and check it regularly for anything nobody remembers adding.
Protecting cardholder data
Protecting cardholder data (requirements 3 and 4) starts with not keeping it. If you don't need the full card number after the order is placed, don't store it. Where you must store it, make it unreadable with encryption, tokenization or truncation, and never keep the CVV once the payment is authorized. Encrypt every connection that carries card numbers, including calls to your payment provider.
Protect Cardholder Data With PCI Booking's Tokenization Solutions
PCI Booking replaces card details with a token: one token for the whole card. Your payment pages and storage systems hold tokens instead of card numbers, which reduces the risk of a breach and drastically reduces your PCI DSS scope.
Maintaining a vulnerability management program
Requirements 5 and 6 cover malware and software flaws. Apply security patches to your ecommerce platform, its plugins and the servers it runs on as soon as you have tested them. Vulnerabilities in old plugin versions are published, and attackers scan for stores that still run them.
Control the code on your payment page as closely as the code on your servers. List every script that loads at checkout, record why it is there, and remove the ones you can't justify. File integrity monitoring on the servers that host your store alerts you when a file changes without an approved release.
Implementing strong access control measures
Requirements 7, 8 and 9 decide who can reach card data. Grant access by job role, and review it when people change roles or leave. Strong access controls mean a unique ID for every user, no shared admin accounts, and multi-factor authentication for anyone with access to the systems that hold card data. Physical access counts too: servers, back-office computers and any paper records with card numbers should be locked away from visitors and unauthorized staff.
Regularly monitoring and testing networks
Requirements 10 and 11 ask you to log every access to systems and card data and to review those logs. Logs give you a trail for forensic analysis after an incident, and reviewing them is how you spot one early. Intrusion detection, quarterly external vulnerability scans by an Approved Scanning Vendor and regular penetration tests show whether your controls work as intended.
For an online store, testing includes the payment page itself. A change and tamper detection mechanism should alert you when the scripts or headers on your checkout change without approval, which is what requirement 11.6.1 asks for.
Maintaining an information security policy
Requirement 12 is the written policy that ties the rest together. It sets out who is responsible for what, from the developer who deploys checkout changes to the support agent who takes a customer's call. Review it at least once a year and after any significant change, train staff on it, and keep an incident response plan that people have rehearsed.
Compliance does not end when an assessment is signed off. Each change to your platform, plugins or checkout scripts can bring a system back into scope or open a gap, so treat the 12 requirements as ongoing work.
Stay compliant with PCI Booking
PCI Booking keeps card details out of your systems, whether they come from your customers or from your partners, which drastically reduces your PCI DSS scope and simplifies your annual audit.
For an online store, that starts with a secure card form embedded in your own website or app. The customer enters the card in the form, the card details come to us, and your systems receive a single token that holds the card number, CVV and other card details. You charge that token through your own PSP.
PCI Booking is a PCI DSS Level 1 Service Provider, with the attestation available on request, and is certified to ISO/IEC 27001:2022. Talk to us about where your card details come from and where they need to go.
