feat: implement global subscription management with multi-currency, group plans, and referral rewards#681
Merged
Smartdevs17 merged 4 commits intoJun 25, 2026
Conversation
|
@yours-anjikon Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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
This PR introduces three major subscription platform capabilities that significantly expand SubTrackr's global billing and subscription management experience.
Closes #540
Closes #541
Closes #542
Overview
This contribution introduces three large platform features:
Together these additions enable merchants to operate globally while improving subscription sharing, billing flexibility, and customer acquisition.
Issue #540 — Multi-Currency Subscription Support
Background
Subscriptions currently operate exclusively in USD, limiting international adoption and forcing users to manually account for exchange-rate differences.
Solution
Implemented comprehensive multi-currency billing support.
Features
Merchant currency configuration
Support for 20+ fiat currencies
Real-time FX conversion using configurable Oracle providers
Automatic conversion during:
FX cache with configurable expiration (default 5 minutes)
Multi-currency invoice generation displaying:
Merchant payout conversion into preferred settlement currency
Edge Cases
Implemented handling for:
Technical Changes
Tests
Added:
Issue #541 — Group & Family Subscription Management
Background
Subscriptions were previously limited to individual ownership with no shared billing model.
Solution
Implemented shared subscription management for families and teams.
Features
Group owners can:
Members can:
Seat Models
Supports:
Billing
Implemented:
Edge Cases
Handled:
Technical Changes
Tests
Added:
Issue #542 — Referral & Affiliate Platform
Background
Merchants currently have no built-in referral or affiliate infrastructure.
Solution
Added a complete referral management platform.
Referral Features
Commission Models
Supports:
Dashboard
Added Affiliate Dashboard showing:
Automated Payouts
Implemented:
Fraud Protection
Added detection for:
Edge Cases
Implemented handling for:
Technical Changes
Tests
Added:
Files Updated
Validation
Backend
npm run lint npm run test npm run buildContracts
cargo fmt --check cargo clippy cargo testMobile
Integration
All validation completed successfully.
Impact
This PR significantly expands SubTrackr's subscription capabilities by introducing:
These features are fully integrated into the existing subscription architecture while maintaining backward compatibility with existing subscription plans.