Repository navigation
feat(affiliate): attribute verified payment conversions across plugins - #366
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@codex review Please review exact candidate |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Bundle size7 of 195 bundles changed.
Measured 22 packed archives separately; full report includes their compressed bytes without installed dependencies. |
Summary
Capture referral identifiers during Ecommerce checkout, School paid enrollment and Calendar paid booking. Affiliate-owned typed hooks use the stored payment snapshot after signature and payment matching; Ecommerce revenue is subtotal minus discount, excluding tax and shipping. Generated stacks compose Affiliate and Analytics callbacks when both are selected.
Closes #346.
Evidence
enrolled → completed, with one commission. Its earlier incomplete local proof is explicitly preserved as superseded. Local payment-provider network calls are mocked; the memory database, HTTP handlers, signed payload verification and public package APIs execute.Merge Danger
Door: two-way
Attribution stays in existing private payment JSON, with no new database column. Existing pending checkouts without captured attribution retain that absence. Source plugins remain independently installable. Prepared Affiliate 1.1, Ecommerce 1.1, School 2.1 and Calendar 1.2 match the generated hook APIs; Core and CLI remain 6.1. Package publication is outside this change.
Blast Radius: checkout
Touches capture, payment recovery and paid-hook context for the three payment owners, plus optional generated configuration. Final refresh must preserve concurrent authoring changes and reconcile their overlapping unpublished release notes.