feat(payment): add chat support discounts and gratitude

This commit is contained in:
Codex
2026-07-28 17:42:53 +08:00
parent aee35353a3
commit ef9b79bc83
35 changed files with 768 additions and 56 deletions
+4
View File
@@ -80,6 +80,8 @@ export function useGlobalAppNavigator(): GlobalAppNavigator {
replace: shouldReplace = false,
analytics = getDefaultPaymentAnalyticsContext(type),
chatActionId,
planId,
commercialOfferId,
}: OpenGlobalSubscriptionInput): void => {
const target = ROUTE_BUILDERS.subscription(type, {
payChannel,
@@ -87,6 +89,8 @@ export function useGlobalAppNavigator(): GlobalAppNavigator {
sourceCharacterSlug,
analytics,
chatActionId,
planId,
commercialOfferId,
});
behaviorAnalytics.rechargeModalOpen(analytics);