Feature/554 566 567 568 billing enhancements#663
Open
Kingsman-99 wants to merge 5 commits into
Open
Conversation
…vs17#554) Add real usage event ingestion (POST /v1/usage, batch + idempotency key dedup + clock-skew normalization), sum/max/average/percentile aggregation windows, graduated TieredPricingCalculator, soft/hard threshold alerts, a usage_billing_close cron, and per-meter invoice line items. Wire the mobile usage store and dashboard to real quota data instead of mocked numbers.
…tdevs17#566) Add one-click alignment of all active subscriptions to day 1 or 15, with a prorated true-up preview, a 90-day re-alignment lockout, and consolidated single invoices for subscriptions sharing a billing date (works across mixed monthly/annual cycles; free subscriptions excluded).
…rtdevs17#567) Add a real PromotionEngine (validation, exclusive/additive/priority-order stacking, BOGO + percentage/fixed/free-month discounts capped at 100%), budget_checker and expiration_cleanup crons, a checkout discount API, cart value/referral auto-promotion triggers, redemption-rate/cannibalization analytics, and retroactive-redemption credit memos. Wires campaignStore's previously-mocked coupon validation/redemption to the new engine and removes the dead CouponService mock it replaces.
…7#568) Add a free-text feedback step (with lexicon-based sentiment scoring) to the cancellation flow, a Day-7 post-cancellation survey, a reason-specific win-back email sequence (replacing the console.log stub), a cancellation funnel dashboard (reason distribution, save rate, reactivation rate, sentiment), a separate involuntary-cancellation path for payment failures, and reactivation-within-30-days detection. Updates e2e helpers/tests for the new FEEDBACK step in the flow.
|
@Kingsman-99 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.
Pull Request Checklist
Quality Gates (All must pass before merge)
Closes Add usage-based billing with real-time metering aggregation #554
Closes Add subscription billing alignment and consolidation #566
Closes Implement discount/promotion engine with stackable rules #567
Closes Build subscription cancellation feedback with sentiment analysis #568