Repository navigation
fix(cloud): preserve creator campaign attribution through subscription checkout - #517
Merged
Merged
Conversation
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.
Carry an optional creator click ID through managed email and social signup and persist it when the verified team and its free billing account are created. Forward the stored ID as Stripe subscription metadata at paid checkout. Existing teams and signups without a referral leave the field empty.
Coverage includes legacy rows and malformed IDs, confirmation and retry paths, billing updates, Stripe request serialization, and frontend handoffs. The docs change updates the signup schema, localized privacy policies and public-site referral forwarding.
The dashboard also refreshes its npm dependencies, including Angular 22.3, Optimus UI 2.2, Scalar and the browser testing tools. The lockfile resolves cross-spawn to 7.1.2. npm audit reports zero vulnerabilities. The only direct package below the registry's latest stable release is TypeScript, which is on 6.0.3 to satisfy Angular's and typescript-eslint's peer constraints. The release-age exception was used only when resolving this lockfile.
Campaign attribution now uses provider-neutral field and column names. Only the validated click ID is forwarded under the existing sc_click Stripe subscription metadata key. This preserves the existing link and request contract.
Updated 26 Go modules and ran the official Angular core, CLI, CDK and Optimus UI migration ranges. The Angular CLI library-builder migration reported no changes for this application. The MFA recovery test uses Angular 22.3's typed router test harness.