docs: test mode — concept page, authentication page, test-first quickstart#79
Open
riveign wants to merge 2 commits into
Open
docs: test mode — concept page, authentication page, test-first quickstart#79riveign wants to merge 2 commits into
riveign wants to merge 2 commits into
Conversation
…t test-first - New payments/merchant/test-mode page: account-level test/live model, switch-by-key, wcp_test_ prefix, synthetic tx hashes, webhook behavior, go-live path; env diagram in purple (test-mode color) - New api-reference/authentication page: Api-Key header, test vs live key semantics, no environment field on responses - Quickstart reframed test-first with wcp_test_ examples + go-live section - Overview: test-before-live messaging + merchant/test-mode cards - Reconcile the two contradictory wallet Test Payment Links blurbs; remove the last "sandbox" mention (term is "test mode") Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Public docs coverage for test mode, targeting the Jul 15 GA. Follows the Test Mode — Public Docs Alignment doc + the comments on it. Opened as a draft to iterate on — comment freely.
New pages
payments/merchant/test-mode— the concept page: account-level test/live, switch-by-key (no test flag/param anywhere),wcp_test_prefix, what test payments do/don't do (no on-chain execution, synthetictest:{paymentId}tx hash, fixed 1-unit amounts), webhooks fire in test mode, go-live path. Includes an environment diagram with test mode in purple (per Rocky's diagram ask + Tomas R.'s purple-as-test-color proposal).api-reference/authentication— the previously-missing auth page:Api-Keyheader, test vs live key semantics, 401/403, key safety.Edits
wcp_test_, synthetictxIdin the status example, closing "Go live" section.docs.json) — both version blocks updated.Decisions baked in (from the alignment thread)
&_t=1gateway tag is treated as an implementation detail — not documented.Not in this PR (follow-ups)
not_sandbox_api_keyenum. They should be regenerated, not hand-edited, so the JSONs are untouched here.mint broken-linkspasses.🤖 Generated with Claude Code