PCI Compliance and Ecommerce Hosting

Category: PrestaShop & eCommerce ยท Updated 2026-11-01

PCI DSS (Payment Card Industry Data Security Standard) is a set of security requirements for any business that stores, processes or transmits credit card data. Most small online stores reduce their burden by using a hosted checkout or payment gateway so card numbers never touch their own server, which qualifies them for the simplest compliance level.

What PCI DSS actually requires

The PCI Security Standards Council, created by the major card brands, publishes PCI DSS as a checklist covering network security, encryption, access control, monitoring and policy. It applies to anyone who stores, processes or transmits cardholder data, regardless of business size. Requirements include things like using HTTPS/TLS for any page that touches card data, never storing the card verification code (CVV), keeping software patched, and restricting who can access payment systems.

Self-Assessment Questionnaire (SAQ) levels

Most small and mid-size merchants complete a Self-Assessment Questionnaire rather than a full audit. Which SAQ applies depends on how card data flows through your checkout, not on how many sales you make:

SAQ typeWhen it appliesRelative burden
SAQ ACheckout is fully outsourced to a hosted page or redirect (e.g. a payment gateway's own page)Lowest
SAQ A-EPYour page embeds a payment iframe or JavaScript from a provider, but the card fields are not on your own serverModerate
SAQ DYou store, process or transmit card data on infrastructure you controlHighest

What this means for your hosting choice

  • Hosted checkout or redirect (Stripe Checkout, PayPal, many gateway "lightbox" integrations): ordinary shared, managed or VPS hosting is normally fine, since card data never reaches your server.
  • Embedded payment fields from a gateway's SDK: still relatively light, but you must keep the page serving those fields over HTTPS and free of unrelated vulnerabilities.
  • Storing card numbers yourself or running your own payment processing: requires infrastructure built and audited specifically for PCI DSS, which is far beyond what typical shared or unmanaged hosting offers.

In practice, almost no small merchant should store raw card numbers. Letting a specialized payment processor hold that data is both simpler and considerably safer.

Practical steps to lower your scope and risk

  1. Use a well-known payment gateway's hosted or embedded checkout instead of building your own card form.
  2. Enforce HTTPS across the entire site, not just the checkout page.
  3. Keep your ecommerce platform, plugins and server software patched and updated.
  4. Never log, email or store full card numbers or CVV codes anywhere, including in order notes or backups.
  5. Use strong, unique admin passwords and limit who has access to the hosting account and store backend.
  6. Ask your host directly whether their infrastructure meets the requirements for your SAQ level, especially if you are above SAQ A.

What happens if you are not compliant

Card brands and payment processors can levy fines on a non-compliant merchant, and in the event of a data breach a non-compliant business can face significantly higher liability for fraud losses and investigation costs. Compliance is a contractual condition of accepting card payments, enforced through your payment processor rather than by a government agency.

Frequently asked questions

What is PCI compliance and why does my online store need it?

PCI compliance means following PCI DSS, the security rules set by card brands for any business handling card payments. Payment processors require it as a condition of letting you accept card payments, and it reduces the risk and cost of a data breach.

Does my hosting plan need to be specially PCI compliant?

Only if your own server stores, processes or transmits card data. If checkout is handled by a payment gateway's hosted page or embedded fields, ordinary hosting with HTTPS and good security practices is normally sufficient.

What is a PCI SAQ?

A Self-Assessment Questionnaire (SAQ) is the simplified compliance checklist most merchants complete instead of a full audit. Which version applies depends on how card data flows through your checkout, from SAQ A for fully outsourced checkouts to SAQ D for merchants handling card data directly.

Can I store customer credit card numbers in my database?

This is strongly discouraged and brings the highest level of PCI requirements. Nearly all merchants should let a payment gateway or processor store card data using tokenization instead of keeping raw numbers themselves.

Does using Stripe or PayPal make me PCI compliant automatically?

It significantly reduces your scope and often qualifies you for the simplest SAQ A level, but you still have to complete the relevant questionnaire and keep your own site secure, including HTTPS and up-to-date software.

What happens if my store is found not PCI compliant?

Your payment processor can fine you, restrict your ability to accept cards, or hold you more liable for losses if a breach occurs. There is no government penalty, but processors enforce it contractually.

Related topics