Repository navigation
Live-mode readiness: Going live docs and a real-email warning - #1
Merged
Merged
Conversation
Explains how to turn on live mode, recommends a restricted rk_live_ key with only the permissions Obol uses, notes Stripe account activation, warns that live sends email real clients, and asks for one small real invoice before relying on it.
In live mode, create-and-send, send and remind make Stripe email the actual customer. The approval prompt now says so; void, mark paid and drafts don't email anyone and get no warning.
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 this changes
README
rk_live_key with only what Obol calls (Customers and Invoices write; Charges, Disputes and Events read); the exact commands (hermes config set STRIPE_API_KEY rk_live_…,hermes config set plugins.entries.obol.settings.allow_live true,hermes obol doctor); one small real invoice, paid then voided or refunded, before relying on it; and a warning that in live mode Stripe emails the real client.allow_liverow in Configure links to that section.config.yaml. The full number appears only there and on the PDFs; the logs and database hold a fingerprint and the last four digits.Approval prompt (
src/obol_lib/gate.py)tests/test_gate.py::test_live_sends_warn_that_a_real_client_is_emailed.Testing
hermes plugins validateanddoctorpass.Not done