Add in-app car purchase flow and cross-sell URL routing (RND-1965)#2943
Draft
hugokallstrom wants to merge 1 commit into
Draft
Add in-app car purchase flow and cross-sell URL routing (RND-1965)#2943hugokallstrom wants to merge 1 commit into
hugokallstrom wants to merge 1 commit into
Conversation
Adds the car insurance purchase flow built on top of purchase-common. Includes a new feature-purchase-car module with form, session/intent creation, offer submission, navigation graph, and Koin DI. Cross-sell routing in feature-insurances now inspects the storeUrl and routes to the in-app flow when the URL matches a known product: - car-insurance / bilforsakring -> SE_CAR (in-app car flow) - bostadsratt / home-insurance/homeowner -> SE_APARTMENT_BRF (apartment) - hyresratt / home-insurance / hemforsakring -> SE_APARTMENT_RENT - anything else -> openUrl fallback (web flow) The car form only collects fields not already known about the member. SSN and email are fetched as part of session setup via a new CarMemberContactInfo query and submitted server-side; they are no longer displayed as form fields. Co-Authored-By: Claude Opus 4.7 (1M context) <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.
Summary
feature-purchase-carmodule: form, session/intent creation, offer submission, navigation graph, Koin DIfeature-insurancesnow parses the storeUrl and routes to the in-app flow when the URL matches a known productCarMemberContactInfoand submitted server-sideURL → product mapping
car-insurance/bilforsakringSE_CAR)bostadsratt/home-insurance/homeownerSE_APARTMENT_BRF)hyresratt/home-insurance/hemforsakringSE_APARTMENT_RENT)pet-insurance)openUrlfallback (web flow)Test plan
🤖 Generated with Claude Code