@@ -55,7 +55,7 @@ export const CheckoutForm = withCardStateProvider(() => {
5555 < LineItems . Group >
5656 < LineItems . Title
5757 title = { plan . name }
58- description = { planPeriod === 'annual' ? localizationKeys ( 'commerce .billedAnnually' ) : undefined }
58+ description = { planPeriod === 'annual' ? localizationKeys ( 'billing .billedAnnually' ) : undefined }
5959 badge = {
6060 plan . freeTrialEnabled && freeTrialEndsAt ? (
6161 < SubscriptionBadge subscription = { { status : 'free_trial' } } />
@@ -65,19 +65,19 @@ export const CheckoutForm = withCardStateProvider(() => {
6565 < LineItems . Description
6666 prefix = { planPeriod === 'annual' ? 'x12' : undefined }
6767 text = { `${ fee . currencySymbol } ${ fee . amountFormatted } ` }
68- suffix = { localizationKeys ( 'commerce .checkout.perMonth' ) }
68+ suffix = { localizationKeys ( 'billing .checkout.perMonth' ) }
6969 />
7070 </ LineItems . Group >
7171 < LineItems . Group
7272 borderTop
7373 variant = 'tertiary'
7474 >
75- < LineItems . Title title = { localizationKeys ( 'commerce .subtotal' ) } />
75+ < LineItems . Title title = { localizationKeys ( 'billing .subtotal' ) } />
7676 < LineItems . Description text = { `${ totals . subtotal . currencySymbol } ${ totals . subtotal . amountFormatted } ` } />
7777 </ LineItems . Group >
7878 { showCredits && (
7979 < LineItems . Group variant = 'tertiary' >
80- < LineItems . Title title = { localizationKeys ( 'commerce .creditRemainder' ) } />
80+ < LineItems . Title title = { localizationKeys ( 'billing .creditRemainder' ) } />
8181 < LineItems . Description text = { `- ${ totals . credit ?. currencySymbol } ${ totals . credit ?. amountFormatted } ` } />
8282 </ LineItems . Group >
8383 ) }
@@ -86,11 +86,11 @@ export const CheckoutForm = withCardStateProvider(() => {
8686 < Tooltip . Root >
8787 < Tooltip . Trigger >
8888 < LineItems . Title
89- title = { localizationKeys ( 'commerce .pastDue' ) }
89+ title = { localizationKeys ( 'billing .pastDue' ) }
9090 icon = { InformationCircle }
9191 />
9292 </ Tooltip . Trigger >
93- < Tooltip . Content text = { localizationKeys ( 'commerce .checkout.pastDueNotice' ) } />
93+ < Tooltip . Content text = { localizationKeys ( 'billing .checkout.pastDueNotice' ) } />
9494 </ Tooltip . Root >
9595 < LineItems . Description text = { `${ totals . pastDue ?. currencySymbol } ${ totals . pastDue ?. amountFormatted } ` } />
9696 </ LineItems . Group >
@@ -99,7 +99,7 @@ export const CheckoutForm = withCardStateProvider(() => {
9999 { ! ! freeTrialEndsAt && ! ! plan . freeTrialDays && (
100100 < LineItems . Group variant = 'tertiary' >
101101 < LineItems . Title
102- title = { localizationKeys ( 'commerce .checkout.totalDueAfterTrial' , {
102+ title = { localizationKeys ( 'billing .checkout.totalDueAfterTrial' , {
103103 days : plan . freeTrialDays ,
104104 } ) }
105105 />
@@ -110,7 +110,7 @@ export const CheckoutForm = withCardStateProvider(() => {
110110 ) }
111111
112112 < LineItems . Group borderTop >
113- < LineItems . Title title = { localizationKeys ( 'commerce .totalDueToday' ) } />
113+ < LineItems . Title title = { localizationKeys ( 'billing .totalDueToday' ) } />
114114 < LineItems . Description text = { `${ totals . totalDueNow . currencySymbol } ${ totals . totalDueNow . amountFormatted } ` } />
115115 </ LineItems . Group >
116116 </ LineItems . Root >
@@ -125,7 +125,7 @@ export const CheckoutForm = withCardStateProvider(() => {
125125 } ) }
126126 >
127127 < Text
128- localizationKey = { localizationKeys ( 'commerce .checkout.downgradeNotice' ) }
128+ localizationKey = { localizationKeys ( 'billing .checkout.downgradeNotice' ) }
129129 variant = 'caption'
130130 colorScheme = 'secondary'
131131 />
@@ -243,11 +243,11 @@ const CheckoutFormElementsInternal = () => {
243243 >
244244 < SegmentedControl . Button
245245 value = 'existing'
246- text = { localizationKeys ( 'commerce.paymentMethods ' ) }
246+ text = { localizationKeys ( 'billing.paymentMethods__label ' ) }
247247 />
248248 < SegmentedControl . Button
249249 value = 'new'
250- text = { localizationKeys ( 'commerce.addPaymentMethod ' ) }
250+ text = { localizationKeys ( 'billing.addPaymentMethod__label ' ) }
251251 />
252252 </ SegmentedControl . Root >
253253 ) }
@@ -307,13 +307,13 @@ export const PayWithTestPaymentMethod = () => {
307307 color : t . colors . $warning500 ,
308308 fontWeight : t . fontWeights . $semibold ,
309309 } ) }
310- localizationKey = { localizationKeys ( 'commerce.paymentSource .dev.developmentMode' ) }
310+ localizationKey = { localizationKeys ( 'billing.paymentMethod .dev.developmentMode' ) }
311311 />
312312 < Button
313313 type = 'button'
314314 block
315315 variant = 'bordered'
316- localizationKey = { localizationKeys ( 'userProfile.billingPage.paymentSourcesSection .payWithTestCardButton' ) }
316+ localizationKey = { localizationKeys ( 'userProfile.billingPage.paymentMethodsSection .payWithTestCardButton' ) }
317317 colorScheme = 'secondary'
318318 isLoading = { isLoading }
319319 onClick = { payWithTestCard }
@@ -332,16 +332,16 @@ const useSubmitLabel = () => {
332332 }
333333
334334 if ( freeTrialEndsAt ) {
335- return localizationKeys ( 'commerce .startFreeTrial' ) ;
335+ return localizationKeys ( 'billing .startFreeTrial' ) ;
336336 }
337337
338338 if ( totals . totalDueNow . amount > 0 ) {
339- return localizationKeys ( 'commerce .pay' , {
339+ return localizationKeys ( 'billing .pay' , {
340340 amount : `${ totals . totalDueNow . currencySymbol } ${ totals . totalDueNow . amountFormatted } ` ,
341341 } ) ;
342342 }
343343
344- return localizationKeys ( 'commerce .subscribe' ) ;
344+ return localizationKeys ( 'billing .subscribe' ) ;
345345} ;
346346
347347const AddPaymentMethodForCheckout = withCardStateProvider ( ( ) => {
0 commit comments