Skip to content
EN
Book a demo

HomeGuides

How to Get PCI DSS Compliant When You Integrate Payments

If you're asking how to get PCI DSS compliant, the answer is to find every place card data touches your systems, shrink that list with the integration method you choose, then validate what remains with the questionnaire or assessment your acquirer requires. The choice in the middle decides most of the workload, and it's yours to make.

On this page

The steps below show how to comply with PCI DSS as a business integrating any gateway or payment platform. They end with what to test, what breaks and how to keep the proof current.

01Before you start

The work needs a few inputs and a named owner for each. Gather them first, because the slowest part is usually waiting for a document from someone else.

What you need Who owns it Where it comes from
A list of every page, script, server and tool that sees a card number Your engineering lead Your own architecture review and code search
The validation level and the form your acquirer expects Your payments or finance lead Your acquirer or the provider that signed your merchant agreement
The provider's Attestation of Compliance and responsibility matrix Your security or compliance lead The provider, on request
A Qualified Security Assessor, if your level or your setup needs one Your compliance lead The PCI SSC list of assessors, or your acquirer's recommendation
The current standard and its questionnaires Your compliance lead The PCI Security Standards Council document library

If one of these is missing, you can still start. Step 1 doesn't depend on any of them.

02How to get PCI DSS compliant: step by step

The steps run in order, and each one narrows what the next has to cover. The standard is PCI DSS v4.0.1, so check every questionnaire against the PCI SSC document library before you fill it in.

  1. 01 Map where card data touches your systems

    Open a spreadsheet and list every place a card number could appear: checkout pages, mobile screens, server logs, support tickets, call recordings, exports and test data. Search your code and your log storage for 13 to 19 digit strings that pass a Luhn check, since that's how stray card numbers show up.

    You end with a list of systems and a yes or no beside each. Anything marked yes is in scope. Don't clean it up yet.

  2. 02 Choose the integration method that sets your scope

    Scope depends mostly on where the customer types the card. A page served by your provider keeps card numbers off your servers, and fields embedded from the provider's script do the same.

    A form on your own page that posts to the provider brings your page into scope. A server that receives card numbers and forwards them brings in the whole server environment. The checkout integration options are easier to compare with the page side by side.

    After the decision, redraw the list from step 1. This is how to reduce PCI compliance burden in practice: systems that no longer see a card number leave the list, and the remaining ones share one card path.

  3. 03 Confirm your level and your questionnaire

    Merchant levels follow your annual card volume, and the card schemes and your acquirer decide which level applies to you. Ask the acquirer two things in writing: your level, and the self-assessment questionnaire (SAQ) type or assessment it accepts for your integration method.

    Treat the written answer as binding for the rest of the work. The questionnaire type follows the integration method you picked in step 2, and your acquirer or assessor confirms which one applies. After this step you know how many requirements apply to you.

  4. 04 Split the requirements between you and the provider

    Ask the provider for its Attestation of Compliance and a responsibility matrix. The attestation shows what the provider was assessed on. The matrix shows which of the 12 PCI DSS requirements the provider covers, which are yours and which are shared.

    Copy the matrix into your own tracker with an owner and a due date on every line that's yours. Shared lines are where audits find gaps, so give them a single named owner on your side.

  5. 05 Close the gaps on your side

    Work through your lines. Typical items are access control for admin accounts, patching, logging, vendor reviews, and on payment pages the script controls added in PCI DSS v4.0.1: an inventory of every script, a reason for each, and a way to detect changes (requirements 6.4.3 and 11.6.1).

    Each item ends with evidence, such as a screenshot, a ticket, a config export or a signed policy. A control without evidence doesn't exist for an assessor.

  6. 06 Validate and file the paperwork

    Complete the questionnaire or the assessment, then sign the attestation your acquirer asked for. If an assessor is involved, give them the responsibility matrix, the provider's attestation and your evidence folder together, so they don't ask for each separately.

    Send the result to the acquirer or the card scheme program through the channel they name. Keep a copy beside the provider's attestation.

  7. 07 Put the renewal on the calendar

    Validation repeats every year, and a change to your checkout, hosting or provider can reopen scope in between. Set a yearly date, add a trigger for any change to the card path, and re-run step 1 each time.

03Testing before real traffic

A short test pass catches most scope surprises before a customer sees them.

  • Pay with a test card in the provider's sandbox and search your logs, error tracker and database for the test number.
  • Open the payment page with the browser's network tab and confirm card fields post to the host your design says they should.
  • List every script the payment page loads and match each one to your inventory.
  • Check that a failed payment doesn't write the card number into a ticket, email or analytics event.
  • Confirm that staff who don't need card access can't reach it.
  • Ask the provider for a fresh attestation and compare its date and scope with what you rely on.

Run the same list after every release that touches checkout. The point is to find the one log line that still holds a card number.

04Rolling back, and what goes wrong

Your scope turns out larger than planned when a forgotten system still stores card numbers. The usual culprits are old log files, a support inbox where customers pasted their card, or a staging database cloned from production. Delete or mask the data, then rerun step 1. Don't mark the system out of scope without evidence.

A new payment page breaks if the provider's script gets blocked by your own content security policy. Roll back to the previous page version, add the provider's host to the policy in a test environment and release again. If you can't, keep the old page live until you can.

The questionnaire fails when your acquirer disagrees with the SAQ type you chose. Stop filling it in, get the acquirer's answer in writing, and redo only the steps that depend on it. Most of your evidence still applies.

A provider's attestation can expire or change scope while your validation is still open. Ask for the current one at every renewal, and note the date in your tracker.

05Where the platform does the step

On our SaaS, you can request the platform's Attestation of Compliance for step 4. Stored cards sit in the platform's vault, so your systems keep tokens and fewer of them stay on the list from step 1.

Your checkout and the rest of the card path stay yours. If you host the platform yourself, you certify that environment and we supply the documents your assessor asks for. What each integration method does to your questionnaire is set out in the scope breakdown.

06FAQ

How do I reduce my PCI compliance burden?

Keep card numbers off your systems. Serving the payment page from your provider, or embedding its fields, usually moves you to a short questionnaire. Store tokens, not card numbers, and remove old logs that hold them. Your acquirer confirms the questionnaire.

How do I stay PCI compliant when using a third-party payment gateway?

To ensure PCI compliance when using a third-party payment gateway, use the gateway's attestation as evidence for its part, then cover your own part: the page, scripts, access and logs. A compliant gateway covers its own part only. Get its responsibility matrix and assign every shared line an owner.

Does PCI DSS apply to payments taken over the phone?

Yes. A card number spoken or keyed during a call is card data, so call recordings, agent screens and notes can fall in scope. Ask your assessor how to keep them out, for example through a tool that captures the number without the agent hearing it.

How do I check that a provider is PCI DSS compliant?

Ask for its current Attestation of Compliance, check the date and the services it covers, and confirm that the service you use is on that list. Card schemes also publish registries of validated service providers.

Next step

Get the responsibility matrix before you build

Tell us how you plan to integrate and where you want the platform to run, and we'll show which requirements sit with us and which with you. Contact the team.

Book a demo

Map your integrations onto one API

We look at the providers you run today and what moving them behind one API would take.