Chargeback evidence: how to commission an online store module
A manager sees a dispute over an order that the warehouse has already shipped and customer support has partially refunded. The payment, shipping documents and correspondence are in different systems, so chargeback evidence has to be collected manually. For an online store owner, this is an integration task: obtaining a verifiable history of events, not another button that controls funds.
The module only reads permitted data, highlights gaps and prepares a local export. An authorised employee reviews the package and handles the dispute separately with the provider. Below are the requirements for this enhancement and its acceptance testing.
What exactly the store needs to collect to handle a dispute
Chargeback evidence must explain the specific disputed transaction and address the reason for the dispute. A complete order archive is no substitute for a selection of relevant documents, and a “delivered” label does not explain which products the buyer received.
Here, a chargeback means disputing a card payment through the banking process, not a standard product return request. At Stripe and Adyen, evidence requirements depend on the category or reason code. A claim that physical goods were not received calls for delivery history; a refund that was not processed calls for refund records, its status and related communication.
In the technical specification, distinguish between the internal case file and the prepared response. The case file contains the connected history, while the export contains only the materials the employee selected for this dispute reason.
Start with the payment, not the order number
A reliable link starts with the dispute and payment identifiers in the relevant provider account. The order number helps locate products and documents, but does not, by itself, prove that the payment found belongs to this particular case.
The recommended foundation for the case record is the provider, merchant account, dispute ID, payment ID and an explicit mapping to the order ID. Shipments and refunds are then added with their own identifiers. Unambiguous record linking is particularly important when an order was paid for through several transactions or shipped in parts.
What to show when an ID is missing or a match is ambiguous
The module must stop automatic matching and show the reason for the uncertainty. A matching amount, surname or address may be a clue for the employee, but must not silently become a confirmed link.
Provide “source unavailable”, “record not found” and “multiple candidates” states. Record manual confirmation of a link with its author and an explanation, without changing the source data.
How to preserve the provenance of every fact
Each fact needs its source, record identifier and retrieval time alongside it. The time of the event itself should be shown separately, because an integration update and parcel delivery happen at different times.
The phrase “shipment delivered” must lead to a document or carrier confirmation, not an internal comment. If the CRM and carrier show different statuses, the case record displays both. The provenance of every fact makes it possible to verify its basis.
A hypothetical example: two parcels and a partial refund
With split delivery, the package must show what happened to each part of the order and, separately, the history of the funds. Confirmation for one parcel must not be applied to the entire basket, nor should any refund simply be subtracted from the disputed amount.
Suppose a buyer paid for an order containing two products in a single payment. The first product was sent in a separate parcel with proof of delivery. The second was shipped later, the buyer refused it, and the store initiated a partial refund. A dispute then appeared in the provider dashboard.
In the internal case record, the employee sees the payment, the contents of each parcel, delivery documents and a refund record with its ID, amount, currency and current status. If the refund is still pending, the explanation does not say “funds refunded”. If proof of delivery for the first parcel is missing, the module flags the gap rather than creating proof from the warehouse status.
The dispute amount and reason come from the specific provider case. They are not calculated as “basket value minus compensation”: the dispute may concern part of a payment. The employee checks exactly what claim has been made and selects materials that explain it, without concealing the uncertain status of the second parcel or the refund.
The example exposes the error of reducing the history to “delivered” and “refunded” flags. Treat refund integration itself separately: this is a related task covered in the article on handling partial refunds.
Manual selection, the provider dashboard or a custom module
A custom module is needed when the main difficulty is assembling consistent data from different store systems. If the responsible employee can find the necessary documents without lengthy searches, a manual process or the provider dashboard may be sufficient.
| Criterion | Manual selection | Provider dashboard | Custom read-only module |
|---|---|---|---|
| Where the materials come from | An employee searches for them in the store’s systems. | Payment data is available within the dashboard; store documents may need separate preparation. | Combines permitted sources according to agreed matching rules. |
| Checking for gaps | Depends on the checklist and the person’s attention to detail. | Prompts and fields depend on the provider and the specific case. | Can explicitly show missing documents and conflicting statuses. |
| Actions on the dispute | An authorised person performs them separately. | Available actions and automation depend on the provider’s settings. | Internal preparation only, with no changes or submission to the provider. |
| What needs maintaining | Instructions, access rights and assigned responsibilities. | The process for using the dashboard and its current capabilities. | Integrations, permissions, selection rules, exports and tests. |
Compare the completeness of the required data and the cost of maintaining the process. Choosing the gateway itself is a separate issue, covered in the article on the total cost of a payment solution.
How to prepare a readable package for the dispute reason
The export must be understandable without access to the CRM or the team’s internal comments. Start with a brief explanation of events, add relevant materials and check the specific case’s format and size requirements.
Do not rely on a tracking link instead of the confirmation itself. Stripe’s documentation on responding to disputes states that issuers do not review external content at such links. The internal case record may retain the source URL for the employee, but the prepared material must contain the readable evidence itself; Stripe’s rules should not automatically be applied to another provider.
Add a description of the attachments and a timeline linking facts to documents. The explanation must not conceal discrepancies or replace them with a more persuasive version of events.
What data should stay out of the export
Keep only the information needed to explain the case, and mask unnecessary details before handing the package to the employee. Do not add sensitive card data or identity documents “just in case”.
Adyen explicitly restricts sensitive data in defence materials, including full card numbers and sensitive authentication data. Build access roles, a viewing and export log, an agreed retention period and deletion of copies into the custom module. Personal data minimisation is a design requirement, not proof of automatic compliance with GDPR, PCI DSS or every legal requirement.
Deadlines and authority: what must not be hidden behind a button
The response deadline must come from the specific case, rather than being set identically for all payments. The case record must show the actual deadline, time zone, responsible employee and backup.
Do not confuse the merchant’s response deadline with the period during which a buyer can initiate a dispute. If the date is unavailable or its currency is unconfirmed, flag it for manual verification. A reminder must lead to the current case status.
Read-only mode must be enforced through permissions and architecture, not merely the absence of a Submit button. Uploading or staging evidence with the provider, updating a dispute, submitting a response to or accepting a dispute, and refund operations are outside this module’s scope. Generating an internal PDF does not mean that a response has been submitted either.
Also account for the provider’s existing automation: Stripe and Adyen have their own dispute-handling mechanisms under certain conditions. Your module neither disables them nor controls their actions. The person must see the current case status so that the internal case file does not create the false impression that the provider is waiting specifically for their manual submission.
How to carry out acceptance testing before launch
Acceptance testing must demonstrate that the module links data correctly, honestly shows gaps and does not change payment or dispute statuses. Testing is carried out in an agreed test environment, without real financial transactions.
- Match a test case against the source records: the payment, merchant account, order, shipments and all refunds must belong to the same history.
- Reproduce split delivery and a pending or failed refund. Make sure these statuses have not turned into “everything delivered” and “everything refunded”.
- Remove a document, create an ambiguous match and make a source unavailable. The module must show the problem rather than fill the gap with a guess.
- Open the export as an ordinary file: check readability, attachment order, data masking and relevance to the selected dispute reason.
- Check credential restrictions and network rules: prohibited changes and financial actions must not be available to this module.
Package readiness and response submission are different states. The selection does not guarantee a win, and the store’s module does not make the decision. This material is not legal or financial advice.
What to agree with the contractor before estimating the work
Timelines and cost depend primarily on source availability and the quality of the links between them. Development should be estimated after checking what the specific provider account allows you to read and how the store retains its history.
- The list of sources, available history and people responsible for granting access.
- ID matching rules and the procedure for manually checking ambiguous records.
- Dispute categories supported by the first version and the boundaries of the local export.
- Data masking, roles, file storage and the activity log.
- Acceptance scenarios, integration maintenance and updates to selection rules.
The budget covers data analysis, integrations, the interface, exports, tests and maintenance. The timeline also depends on obtaining access and restoring historical links. Start with a prototype based on an anonymised case.
GL.ua (Glyanets) offers store development and integrations for payments, delivery and accounting systems. Discuss enhancements to your online store with the team for handling disputes manually. First, the availability of your provider’s data needs to be checked; only then should the scope of work be defined.
Can we start without connecting the provider’s API?
A pilot can be designed around permitted manual exports if they contain the necessary identifiers and statuses. In this version, the date as of which the data is current must be clearly displayed, and checking the current case status must remain the employee’s responsibility.
Should AI be added immediately to explain the case?
First check the links between records and the quality of the documents. If you later add an AI-assisted draft explanation, every statement in it must be based on a specific source and undergo human review.
Will the module help with old orders after migration?
Only within the limits of the retained history and available identifier mappings. Archived payments, shipping documents and other documents need to be checked during assessment: a new interface alone will not restore lost evidence.
Who should change the package template after launch?
Appoint a process owner within the store and someone responsible for technical support. Changes to provider requirements should be reflected in the selection rules and checked against test cases, without automatically extending them to other payment systems.
Just one step to your perfect website



