Skip to content

Say domains cost the registry price plus the ICANN fee, and who can confirm with a token - #142

Merged
p3ob7o merged 4 commits into
mainfrom
domains/registrar-price-and-confirm
Nov 24, 2026
Merged

p3ob7o merged 4 commits into
mainfrom
domains/registrar-price-and-confirm

Conversation

@p3ob7o

@p3ob7o p3ob7o commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Problem

A domain costs the registry price plus the ICANN fee, and Spacefast adds no fee of its own on top (the 0.8.1 changelog: "Spacefast no longer adds its own 20¢ ICANN fee on top of generic TLDs"). Two pages said "the registry price plus the ICANN fee" without saying nothing is added on top. Separately, the sf purchases confirm section said it always needs purchasing power, but confirmTeamPurchase accepts domains:write on the team when a shared payment token pays.

Changes

  • content/(account)/pricing.mdx: the domains row now reads "At cost: the registry price plus the ICANN fee, nothing added on top". The buy-domains guide's lead says the same.
  • content/(serve)/buy-domains.mdx: the lead says the same.
  • content/cli/domains.mdx: sf purchases confirm needs purchasing power on the paying team, or domains:write when paying with --payment-token. This is the nit Indent raised on Document finding and buying a domain #141.
  • content/(serve)/buy-domains.mdx: shows the purchase body, because domains takes objects with a name rather than strings, and says what requires_action means. Indent raised both on the matching agent guidance in the monorepo.

Checks

  • bun run verify:public-safety: passed.
  • bun run check (with SPACEFAST_PRICING_FIXTURE=test/fixtures/pricing-document.json, since this environment can't reach the live API): no type errors.
  • bun run test:docs: 40 of 40 pass.
  • Vale with .vale.ini on the three pages: 0 alerts.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.


Generated by Claude Code

Spacefast stopped adding an ICANN fee on top of the registrar's price,
but the pricing table and the buying guide still said registry price plus
ICANN fee. Also, sf purchases confirm needs only domains:write when a
shared payment token pays.
@spacefast
spacefast Bot temporarily deployed to preview/domains/registrar-price-and-confirm November 24, 2026 15:29 Inactive
@p3ob7o p3ob7o self-assigned this Nov 24, 2026
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 12c3d167-cfad-4155-971c-ab5fe2cc8667
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.

domains takes objects with a name, not strings. A purchase in
requires_action waits for the cardholder at confirmUrl.
@spacefast
spacefast Bot temporarily deployed to preview/domains/registrar-price-and-confirm November 24, 2026 15:32 Inactive
@p3ob7o
p3ob7o marked this pull request as ready for review November 24, 2026 15:39
@indent

indent Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Issues

1 potential issue found:

  • Since monorepo #4289 (0.8.1), checkout, receipt, Stripe line items and expectedTotalCents all use quotedFeeAmountCents, the registrar's (DSAPI) quote unchanged. Spacefast neither computes a registry price plus ICANN fee split nor shows an ICANN line, so describe it as the registrar's price, including any ICANN fee, with nothing added on top, in pricing.mdx and the buy-domains.mdx lead.
    Found by Indent Review Agent

↑ Select any checkbox above to have Indent auto-fix the issue

1 issue already resolved
  • In buy-domains.mdx the sentence "If it shows requires_action… open confirmUrl" follows the registration endpoint, so "it" reads as the registration. requires_action and confirmUrl are on the purchase, and registrations never show that status. Move the sentence to the purchase read, before the "until it's paid" step. (fixed by commit 7bf4252)
    Found by Indent Review Agent

CI Checks

All required CI checks passed on be0061f.

Review agents

Select any unchecked box below to run or rerun that agent.

Found issues (1)
  • Indent Review Agent · One nit: price is the registrar's quote
Full results

Indent Review Agent

  • Summary: One nit: price is the registrar's quote
  • Last ran on commit: be0061fc
  • Latest result
    {
      "summary": "One nit: price is the registrar's quote",
      "findings": [
        {
          "fix": "Describe the price as the single number it is, e.g. \"At cost: the registrar's price, including any ICANN fee, with nothing added on top\" in pricing.mdx, with the same wording in the buy-domains.mdx lead. Or keep the PR's wording only if someone confirms DSAPI's quotes now pass through the registry price plus the ICANN fee with no registrar margin.",
          "line": 47,
          "path": "content/(account)/pricing.mdx",
          "issue": "Since monorepo #4289 (commit 53b59e53fd, shipped in 0.8.1), checkout, the receipt, the Stripe line items and the `expectedTotalCents` check all use `quotedFeeAmountCents`, which is the registrar's (DSAPI) quote unchanged. Spacefast doesn't add an ICANN fee or show one as a separate line in the buyer's total. #4289 deleted the 20¢ markup helper. Its own rollout note says the registrar was only *moving* the ICANN fee into its prices, and \"until it does, generic-TLD buyers pay 20¢ less\". So whether today's price includes an ICANN fee depends on DSAPI, and nothing in the code splits the price into registry price plus ICANN fee. The new wording, \"the registry price plus the ICANN fee, nothing added on top\" (also in the buy-domains.mdx lead, line 6), describes a two-part breakdown that Spacefast neither computes nor guarantees, and it names the registry rather than the registrar Spacefast actually pays. The \"nothing added on top\" part is correct. It matches the 0.8.1 changelog and the dashboard copy (\"you'll pay exactly what we pay\"). The pricing row and the guide's lead now agree, and no other docs page mentions ICANN or the registry price.",
          "title": "\"Registry price plus the ICANN fee\" isn't what the code charges; it charges the registrar's quote as is",
          "severity": "nit"
        }
      ]
    }

Comment thread content/(serve)/buy-domains.mdx Resolved

p3ob7o commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

Fixed in the latest commit. The sentence now sits on the purchase read: if the purchase shows requires_action, open the purchase's confirmUrl; once it's paid, read the registration.


Generated by Claude Code

@spacefast
spacefast Bot temporarily deployed to preview/domains/registrar-price-and-confirm November 24, 2026 15:41 Inactive
@spacefast
spacefast Bot temporarily deployed to preview/domains/registrar-price-and-confirm November 24, 2026 17:59 Inactive
@p3ob7o p3ob7o changed the title Say domains cost the registrar's price, and who can confirm with a token Say domains cost the registry price plus the ICANN fee, and who can confirm with a token Nov 24, 2026
Comment thread content/(account)/pricing.mdx Resolved
@p3ob7o
p3ob7o merged commit 681cda7 into main Nov 24, 2026
7 checks passed

This branch was previously deployed

1 inactive deployment
preview/domains/registrar-price-and-confirm — be0061fc Deployed Nov 24, 2026 by spacefast[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants