Implement the Stripe billing adapter #2
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starintel-labs/starintel-biz#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Implement Stripe as the first payment-provider adapter over the provider-neutral billing core in #1.
Boundary
Stripe handles payment methods, hosted payment UX where appropriate, payment processing, and provider-side lifecycle.
starintel-bizremains authoritative for normalized StarIntel billing/subscription state.Requirements
Webhook integration
Integrate through the generic StarIntel webhook ingress where that architecture is appropriate, while preserving raw-body signature verification and a narrow normalized dispatch contract. Do not allow a generic webhook route to bypass Stripe verification.
Tests / acceptance
Execution mode — AUTO-RAGE
Run the full ADARD/ADADR loop autonomously: re-check current Stripe docs/API first; inspect #1 and StarIntel webhook/account boundaries; design and record the adapter/event mapping; adversarial review + payment-fraud/replay/idempotency/secret threat model; autonomous decision gate; TDD-first implementation; exact-head test-mode/fixture verification; push a focused branch and open/update a PR targeting
main. Stop only for a genuinely unresolved requirement/security blocker, inaccessible dependency, or failed verification gate. Do not ask for approval between phases.Stripe architecture, API/version policy, event mapping, webhook verification, reconciliation, test-mode usage, secret rotation, and outage/recovery docs are tracked in #5. Keep those docs synchronized with this adapter as it lands.