diff --git a/webapp/channels/src/actions/cloud.tsx b/webapp/channels/src/actions/cloud.tsx index c4582f0f68..5c0fe8cf3e 100644 --- a/webapp/channels/src/actions/cloud.tsx +++ b/webapp/channels/src/actions/cloud.tsx @@ -2,7 +2,6 @@ // See LICENSE.txt for license information. import type {Stripe} from '@stripe/stripe-js'; -import {getCode} from 'country-list'; import type {Address, CloudCustomerPatch, Feedback, WorkspaceDeletionRequest} from '@mattermost/types/cloud'; @@ -48,7 +47,7 @@ export function completeStripeAddPaymentMethod( line2: billingDetails.address2, city: billingDetails.city, state: billingDetails.state, - country: getCode(billingDetails.country), + country: billingDetails.country, postal_code: billingDetails.postalCode, }, }, diff --git a/webapp/channels/src/components/payment_form/country_selector.tsx b/webapp/channels/src/components/payment_form/country_selector.tsx index 8d5ba25200..abf1c17980 100644 --- a/webapp/channels/src/components/payment_form/country_selector.tsx +++ b/webapp/channels/src/components/payment_form/country_selector.tsx @@ -29,11 +29,11 @@ const CountrySelector = (props: CountrySelectorProps) => { }))} legend={formatMessage({ id: 'payment_form.country', - defaultMessage: 'Country', + defaultMessage: 'Country/Region', })} placeholder={formatMessage({ id: 'payment_form.country', - defaultMessage: 'Country', + defaultMessage: 'Country/Region', })} name={'country_dropdown'} /> diff --git a/webapp/channels/src/components/start_trial_form_modal/__snapshots__/start_trial_form_modal.test.tsx.snap b/webapp/channels/src/components/start_trial_form_modal/__snapshots__/start_trial_form_modal.test.tsx.snap index 68e268327e..d7a24da305 100644 --- a/webapp/channels/src/components/start_trial_form_modal/__snapshots__/start_trial_form_modal.test.tsx.snap +++ b/webapp/channels/src/components/start_trial_form_modal/__snapshots__/start_trial_form_modal.test.tsx.snap @@ -252,7 +252,7 @@ Object {
(a.name > b.name ? 1 : -1));