commit ed681de89d7a6e6cc3b12b447a55fffb434464e4
Author: Lisa Chan
Date: Tue Jan 6 10:40:25 2026 -0500
feat(payments-next): Create Stay subscribed churn page
This pull request:
Adds the following churn pages:
Error
Not Found
Stay Subscribed/component
Updates Terms page to have a min-width value
Updates ChurnInterventionManager to create entry if none exist
Adds hasCouponId to SubscriptionManager to check if coupon exists on subscription
Updates ChurnInterventionService.determineStaySubscribedEligibility
Changes initial discount already applied to redemption limit exceeded
Adds in discount already applied (checks subscription for coupon)
Reorders reasons:
From: No churn intervention found, discount already applied, sub not active, sub still active, eligible, general error
To: Sub not active, sub still active, no churn intervention found, redemption limit exceeded, discount already applied, eligible, general error
Updates subscriptionManagementService.applyStripeCouponToSubscription as it was not updating cancel_at_period_end when resubscribing
Updates CMS to retrieve additional values (apiIdentifier, successActionButtonUrl, etc)