@growth-operations/ui-shared 1.13.0 → 1.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -358,8 +358,13 @@ function CreditsBilling({ context, state, appKey, openIframe = null }) {
|
|
|
358
358
|
// current tier and disable everything ranked below it ("Talk to sales to
|
|
359
359
|
// switch") — the backend independently re-validates the same upgrade
|
|
360
360
|
// direction (start_upgrade_redirect's tier_order check), so this is safe
|
|
361
|
-
// even if currentOrder were ever wrong. Downgrade
|
|
362
|
-
//
|
|
361
|
+
// even if currentOrder were ever wrong. Downgrade is intentionally NOT
|
|
362
|
+
// self-serve (policy, not a Stripe portal gap): PlanCard's own
|
|
363
|
+
// "Talk to sales to switch" is the one and only downgrade path. Cancel /
|
|
364
|
+
// payment method / invoices still go through the Stripe Customer Portal
|
|
365
|
+
// link below — the footnote must not imply Manage subscription can also
|
|
366
|
+
// downgrade (some apps' Stripe portal config has subscription_update
|
|
367
|
+
// disabled anyway, so it silently couldn't even if we wanted it to).
|
|
363
368
|
if (onPaidPlan) {
|
|
364
369
|
const plans = state?.plans ?? [];
|
|
365
370
|
const currentOrder = plans.find((p) => p.current)?.tier_order;
|
|
@@ -388,7 +393,7 @@ function CreditsBilling({ context, state, appKey, openIframe = null }) {
|
|
|
388
393
|
endpoint="upgrade/start"
|
|
389
394
|
ctaLabel="Upgrade to"
|
|
390
395
|
heading="Your plan"
|
|
391
|
-
footnote="Upgrade any time — the new tier applies immediately with prorated billing. To move to a lower tier, cancel
|
|
396
|
+
footnote="Upgrade any time — the new tier applies immediately with prorated billing. To move to a lower tier, contact us. Use Manage subscription above to cancel or update your payment method."
|
|
392
397
|
openIframe={openIframe}
|
|
393
398
|
/>
|
|
394
399
|
) : (
|