Return Prime integration (adapter module) — consolidated - #35
Open
prima-nilesh wants to merge 1 commit into
Open
Return Prime integration (adapter module) — consolidated#35prima-nilesh wants to merge 1 commit into
prima-nilesh wants to merge 1 commit into
Conversation
Consolidates PRs #17-#34 (feature/return-prime-adapter and follow-on fix/diag/feat branches) into a single clean changeset for review, squashed on top of main as of just before this work began (PR #18). Adds the Return Prime (RP) returns/exchanges Shopify-compatibility adapter: - apps/backend/src/modules/rp/ — OAuth install, merchant/order/product/ customer/refund/discount proxying to OS services, webhooks (inbound from OS, outbound to RP), self-hosted portal + health-checked redirect, own id-mapping table for hashed-id reversal (replaces an earlier RP-Mongo dependency) - packages/rp-sdk/ — drop-in storefront script: enable/disable check, return button (auto-injected on order list/detail pages), the chrome-wrapped customer portal page, self-heal against React hydration wiping the mount - apps/admin-rp/ — standalone admin SPA scaffold - New DB migrations (return_prime_merchants, return_exchange_enabled flag, rp_id_mappings reverse-lookup table) - Shared touchpoints: OAuth service (JWT merchant-id extraction), module registry, env schema, ratio client, app config Full history (individual commits/PRs) remains on main; this branch exists purely to give a single, reviewable diff of the whole feature.
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.
Consolidates PRs #17-#34 (feature/return-prime-adapter and follow-on fix/diag/feat branches) into a single clean changeset for review, squashed on top of main as of just before this work began (PR #18).
Adds the Return Prime (RP) returns/exchanges Shopify-compatibility adapter:
Full history (individual commits/PRs) remains on main; this branch exists purely to give a single, reviewable diff of the whole feature.