Skip to content

Commit c15ee35

Browse files
Merge pull request #19490 from mozilla/PAY-3281-payments-next-subscription-manage-my-subscription-from-subplat-redirects-to-old-subscriptions-page
fix(payments-next): [Payments-Next Subscription] Manage my subscription from subplat redirects to old Subscriptions page
2 parents d1259a3 + fc04585 commit c15ee35

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

libs/payments/ui/src/lib/utils/getErrorFtlInfo.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ export function getErrorFtlInfo(
4141
return {
4242
buttonFtl: 'next-payment-error-manage-subscription-button',
4343
buttonLabel: 'Manage my subscription',
44-
buttonUrl: `${config.contentServerUrl}/subscriptions${queryParamString}`,
44+
buttonUrl: `/subscriptions/landing${queryParamString}`,
4545
message: 'You’ve already subscribed to this product.',
4646
messageFtl: 'checkout-error-already-subscribed',
4747
};
4848
case CartErrorReasonId.IAP_BLOCKED_CONTACT_SUPPORT:
4949
return {
5050
buttonFtl: 'next-payment-error-manage-subscription-button',
5151
buttonLabel: 'Manage my subscription',
52-
buttonUrl: `${config.contentServerUrl}/subscriptions${queryParamString}`,
52+
buttonUrl: `/subscriptions/landing${queryParamString}`,
5353
message:
5454
'You have a mobile in-app subscription that conflicts with this product — please contact support so we can help you.',
5555
messageFtl: 'next-iap-blocked-contact-support',
@@ -138,7 +138,7 @@ export function getErrorFtlInfo(
138138
return {
139139
buttonFtl: 'next-payment-error-manage-subscription-button',
140140
buttonLabel: 'Manage my subscription',
141-
buttonUrl: `${config.contentServerUrl}/subscriptions${queryParamString}`,
141+
buttonUrl: `/subscriptions/landing${queryParamString}`,
142142
message:
143143
'It looks like there was a problem billing your PayPal account. Please re-enable automatic payments for your subscription.',
144144
messageFtl: 'paypal-active-subscription-no-billing-agreement-error',

0 commit comments

Comments
 (0)