ESSENTIAL GUIDANCE · BUYER GUIDE · 5 min read
Part of Validate insights →Ecommerce penetration testing for checkout and customer accounts
Technical review lead: James Hinton · Offensive security lead
An online shop connects customer accounts, checkout, payments and order fulfilment. A security test should follow those connections so you can see how a problem in one part could affect the rest of the order.
Need an acronym translated? Open the cyber glossary →
Summary
Start with the journeys customers and staff use every day. Agree which systems, accounts and roles the test will cover. Get written permission from the relevant system owners before testing begins.
Use test accounts and sample orders to protect customers and live payments. Ask for a report that explains what was tested, why each finding matters and what should be checked again after a fix.
Example scope for an online retailer
A retailer could start with its staging storefront, a test version of the online shop. The scope could include test customer accounts, the checkout integration, the order API and selected back-office roles. The order API passes order information between the shop and other systems.
Use sample orders and test customer details. If the payment provider offers a sandbox, confirm that the planned activity is allowed there. A sandbox is a test environment for payment activity. Record who runs it, who can approve its use and whether the live payment service is outside the scope.
Map the order journey before you agree the scope
Build your ecommerce security testing scope around the actions customers and staff take. Start with a few journeys that matter to the business:
- A customer creates an account, adds items to their basket and places an order.
- The shop receives the payment result and sends the order for fulfilment.
- A customer cancels an order or asks for a refund.
- A member of staff changes an order or handles a customer query.
For each journey, record where it starts, which systems it uses and who can act at each stage. Include mobile apps, identity services or supplier systems where they affect the journey. Record any dependencies that sit outside the approved scope.
What should checkout security testing cover?
Agree what the checkout should do when a payment succeeds, fails or remains pending. Record which service confirms payment and when the order can move to fulfilment. This gives the tester a clear expected outcome and helps the shop team understand any finding.
Ask the owner of the checkout to document the rules for prices, discounts, cancellations and refunds. Include who can approve an exception and what record the system should keep. The agreed rules give the tester a way to judge whether the shop behaves as intended.
Review what customers and staff can access
List the roles that can view orders, change delivery addresses, issue refunds or export customer records. Include ordinary customers, support staff and administrators where relevant. If the platform serves more than one store, record which roles should have access to each store’s data.
Give the tester accounts that match the roles in scope. A simple role list can show what each account should see and do. Include any tasks that need a second person’s approval and note which systems hold the record of that approval.
Agree permissions and protect live orders
Get written authorisation from the relevant system owners. Record which systems are included, which actions are allowed, who to contact and when work must stop. Where a supplier runs part of the journey, check its testing policy and confirm who can approve work on its systems.
Agree how the team will recognise test orders, handle notifications and avoid sending test items for dispatch. Name someone who can pause the work if a payment, fraud alert or fulfilment process is triggered. If you use staging, note any differences that affect what you can conclude about the live shop.
Use the penetration test scoping workbook to record these decisions before work starts.
Use the report to plan fixes and retests
Ask the provider to show which journeys, roles and environments it assessed. Each finding should explain the evidence, the impact on the shop or its customers, and the recommended fix. For example, a finding may matter because it could expose customer details or cause staff to spend time correcting orders.
Give each fix an owner and agree when it will be ready to check. Keep the build version, test dates and retest results together so the team can trace what changed. If the work supports a PCI DSS assessment, ask your assessor how the report fits into the wider evidence they need.
Q&A
Can we include a hosted payment page in the test?
Agree where your checkout hands over to the payment provider and what your team controls. A provider’s sandbox may cover the handover in the test scope. Confirm its terms and get written permission from the relevant owner for any active testing of provider systems.
Do we need to test the live shop?
A staging environment can cover many checkout and account journeys. Compare it with the live shop and record differences in access settings, integrations and alerts. Use that comparison to decide whether any additional checks need approval.
Can we test a new checkout before launch?
Yes. Share the planned release date, the current build and the journeys that have changed. Leave time to review the report, fix priority issues and check those fixes before the launch decision.
What should we prepare for a retest?
Send the finding references, the build version and a short record of the changes. Confirm which environments and accounts are available. Ask the provider to record the outcome for each finding checked.
About this guide
Published by the Pentesys Editorial Team.
This guide covers the essentials. Continue into our technical analysis for a firmer position, practical implications and recommended action.
Read “Web Application Security Risks: Code, Identity and Cloud” →




