Sub topic 12
Proving Acceptance: What to Record and Keep
Assume you understand basic contract formation, reasonable notice, and the differences between clickwrap, browsewrap, and sign-in-wrap. This chapter focuses on evidence: what your system should record so you can later show which terms a user saw, what action the user took, and which version applied.
A well-designed acceptance flow helps prove assent. The acceptance record connects that flow to a particular user and a particular document. The record does not make an invalid agreement enforceable, but it can prevent disputes about what happened.
The evidence chain
Courts usually need answers to three questions:
- Which terms applied? Identify the document, version, effective date, and exact text.
- Who accepted them? Connect the event to an account, order, or other identifiable user.
- What did the user do? Record the action that manifested assent, such as checking an unticked box and submitting a form.
A useful record contains more than a timestamp. Store the document's immutable version or a cryptographic hash. A hash is a fixed-length value calculated from the document's contents. If the text later changes, its hash should also change.
| Field | Purpose |
|---|---|
| User or account ID | Connects the event to a person or organization |
| Document ID and version | Identifies the terms accepted |
| Document hash | Helps detect later changes to the stored text |
| Accepted-at timestamp | Establishes when assent occurred |
| Acceptance method | Shows whether the flow used clickwrap or another method |
| IP address and user agent | Adds technical context, subject to privacy rules |
| Flow and interface version | Shows how notice and assent were presented |
Build an acceptance record
The application should create the record on the server after it verifies the submitted action. Do not rely only on a browser event or a client-provided document version. A client can send altered values.
import { createHash } from 'node:crypto';
interface AcceptanceRecord {
userId: string;
documentId: string;
documentVersion: string;
documentHash: string;
acceptedAt: string;
ipAddress: string;
userAgent: string;
method: 'clickwrap';
}
function buildAcceptanceRecord(
userId: string,
documentId: string,
documentVersion: string,
documentText: string,
ipAddress: string,
userAgent: string
): AcceptanceRecord {
return {
userId,
documentId,
documentVersion,
documentHash: createHash('sha256')
.update(documentText, 'utf8')
.digest('hex'),
acceptedAt: new Date().toISOString(),
ipAddress,
userAgent,
method: 'clickwrap',
};
}
const record = buildAcceptanceRecord(
'user-42',
'terms-of-service',
'2026-01-15',
'Full text of the accepted terms goes here.',
'203.0.113.10',
'ExampleBrowser/1.0'
);
console.log(record);The server should load the approved terms for the requested version, calculate the hash from that stored text, and save the record in durable storage. Keep the original document or a content-addressed copy so the hash can be checked later.
Preserve the surrounding context
A record of “accepted: true” is weak evidence. Keep the interface version, the text shown beside the control, the terms URL, and whether the checkbox was initially empty. For a scrollwrap design, record whether the system required the user to reach the end, but do not treat scrolling alone as assent unless the user also takes a clear acceptance action.
Record updates separately. When terms change, identify the new version and notify existing users through a reasonably conspicuous channel. If continued use is the only alleged acceptance, the evidence must show meaningful notice and conduct that can reasonably signal agreement.
Practical checklist
- Store the exact accepted text or a reliable immutable reference to it.
- Generate the hash on the server.
- Record the user, time, method, and document version.
- Preserve screenshots or rendered templates when the interface is legally important.
- Keep audit logs showing later edits to terms and records.
- Restrict deletion and alteration of acceptance evidence.
- Test that an unticked required checkbox prevents submission.
- Test that the displayed version matches the version recorded.
Exercise
A database stores only user_id, accepted = true, and a timestamp. What important dispute can this fail to answer, and what should you add?
Show answer
It may not show which terms the user accepted or how assent occurred. Add the document version and hash, acceptance method, interface or flow version, identity and timestamp, and a preserved copy of the applicable terms.