Most numbers on a pricing site are easy to keep honest. Prices come from one plans file, so the page cannot disagree with the checkout. A refund window is harder, because it is also a promise in a legal document, and a legal document is prose.
Ours is thirty days. I went looking for where the 30 lives.
Four places, three kinds
- A constant.
GUARANTEE_DAYS = 30, exported from the component that renders the one-line guarantee note. The pricing FAQ imports it and the two guarantee lines in the same file read it, so the pricing page follows it. - Prose in the terms. Section 5.3 says "within thirty (30) days", spelled as a word and a numeral because that is how a contract is written. It cannot import a number and it should not: the sentence is the thing a lawyer would review.
- The help page's refund answer. It reads "within 30 days of purchase", reusing the same FAQ component as pricing, so it follows the constant too.
- A support knowledge file. The answer our support assistant gives for refund questions is a hand-typed string that says "within 30 days of buying".
So two places are driven by the constant and two are typed. What joins them is a doc comment above the constant: Terms section 5.3 states the same window; change both together.
I like that the comment exists. I would not want to rely on it. No test reads the constant and compares it with the terms, and none reads the knowledge file either. If the window changed to 14 days tomorrow, the constant would change in one line, the pricing and help pages would follow, and the terms and the assistant would go on promising 30 until a person remembered the comment.
The second thirty
The easy fix is a global find-and-replace, and it would be wrong. The same terms page also says a personal discount code "expires thirty (30) days after it is issued". Different rule, same number, no relationship. The help page's FAQ has it too, in a sentence about entering a code in the "Have a code?" field. So any search for the number returns two unrelated promises mixed together, and the safe way to change one is to read each hit.
This is the general trap with numbers in policy text: a number can be a measurement of one thing, or it can just happen to be the same as another.
What I would add
A test of about ten lines. Import the constant, read the terms source, assert that the word form of that number appears next to the refund wording, and assert the support knowledge string contains it as digits. It would not prove the legal text is right. It would only make the two typed copies fail loudly when the constant moves, which is the whole job of the comment today. I have not written it yet, so this post is a description of a gap and not of a fix.
See it
All three public copies agree today, and you can check it in a minute:
- Pricing: the refund FAQ says to tell us within 30 days of purchase.
- Help: the same answer, as it uses the same FAQ.
- Terms, section 5.3: "thirty (30) days", in the sentence that begins the Practice Match Guarantee.
While you are on the terms page, search for "thirty" and you will see the discount-code clause as a separate hit. That is the one a careless replace would have changed.
The fourth copy, the assistant's, is not on a public page, so I cannot point you at it. I can only tell you it exists and that I found it by searching the repository for the digits.
The takeaway
When a figure appears in prose that a person must approve, do not try to generate that prose. Generate the checks. A test that fails when two copies of a number disagree costs far less than the day someone reads a stale promise back to a customer.