@@ -496,11 +496,17 @@ const convictConf = convict({
496496 'https://app.adjust.com/2uo1qc?campaign=fxa-conf-email&adgroup=ios&creative=button&fallback=https%3A%2F%2Fitunes.apple.com%2Fapp%2Fapple-store%2Fid989804926%3Fpt%3D373246%26ct%3Dadjust_tracker%26mt%3D8&utm_source=email' ,
497497 } ,
498498 supportUrl : {
499- doc : 'url to Mozilla Support product page' ,
499+ doc : 'url to Mozilla account support page' ,
500500 format : String ,
501501 default :
502502 'https://support.mozilla.org/kb/im-having-problems-my-firefox-account' ,
503503 } ,
504+ subscriptionSupportUrl : {
505+ doc : 'url to Mozilla subscription support page' ,
506+ format : String ,
507+ default :
508+ 'https://support.mozilla.org/products' ,
509+ } ,
504510 redirectDomain : {
505511 doc : 'Domain that mail urls are allowed to redirect to' ,
506512 format : String ,
@@ -525,6 +531,12 @@ const convictConf = convict({
525531 env : 'SUBSCRIPTION_TERMS_URL' ,
526532 format : String ,
527533 } ,
534+ subscriptionSettingsUrl : {
535+ default : 'https://payments.firefox.com/' ,
536+ doc : 'Subscriptions management URL' ,
537+ env : 'PAYMENTS_NEXT_HOSTED_URL' ,
538+ format : String ,
539+ } ,
528540 unsubscribeUrl : {
529541 doc : 'URL to unsubscribe from MoCo and MoFo emails' ,
530542 format : String ,
@@ -2621,8 +2633,6 @@ convictConf.set(
26212633 'smtp.verifySecondaryEmailUrl' ,
26222634 `${ baseUri } /verify_secondary_email`
26232635) ;
2624- convictConf . set ( 'smtp.subscriptionSettingsUrl' , `${ baseUri } /subscriptions` ) ;
2625- convictConf . set ( 'smtp.subscriptionSupportUrl' , `${ baseUri } /support` ) ;
26262636convictConf . set ( 'smtp.syncUrl' , `${ baseUri } /connect_another_device` ) ;
26272637
26282638convictConf . set ( 'isProduction' , convictConf . get ( 'env' ) === 'prod' ) ;
0 commit comments