Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 470
chore(types, localizations): Rename payment sources to method methods#6959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
122bcfcb4152ed43e96038554b7d8feb0eb04dddd932eaab35d1afe8File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| --- | ||
| '@clerk/localizations': minor | ||
| '@clerk/clerk-js': minor | ||
| '@clerk/types': minor | ||
| --- | ||
| [Billing Beta] Rename payment sources to method methods. | ||
| Updates localization keys from `commerce` -> `billing` and `paymentSource` to `paymentMethod`. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -175,7 +175,7 @@ export const PaymentAttemptPage = () => { | ||
| > | ||
| <Text | ||
| variant='h3' | ||
| localizationKey={localizationKeys('commerce.totalDue')} | ||
| localizationKey={localizationKeys('billing.totalDue')} | ||
panteliselef marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| elementDescriptor={descriptors.paymentAttemptFooterLabel} | ||
| /> | ||
| <Span | ||
| @@ -236,14 +236,14 @@ function PaymentAttemptBody({ subscriptionItem }: { subscriptionItem: BillingSub | ||
| borderTop | ||
| variant='tertiary' | ||
| > | ||
| <LineItems.Title title={localizationKeys('commerce.subtotal')} /> | ||
| <LineItems.Title title={localizationKeys('billing.subtotal')} /> | ||
panteliselef marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| <LineItems.Description | ||
| text={`${subscriptionItem.amount?.currencySymbol}${subscriptionItem.amount?.amountFormatted}`} | ||
| /> | ||
| </LineItems.Group> | ||
| {subscriptionItem.credit && subscriptionItem.credit.amount.amount > 0 && ( | ||
| <LineItems.Group variant='tertiary'> | ||
| <LineItems.Title title={localizationKeys('commerce.credit')} /> | ||
| <LineItems.Title title={localizationKeys('billing.credit')} /> | ||
panteliselef marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| <LineItems.Description | ||
| text={`- ${subscriptionItem.credit.amount.currencySymbol}${subscriptionItem.credit.amount.amountFormatted}`} | ||
| /> | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix typo in changeset description.
"method methods" should be "payment methods".
Apply this diff:
📝 Committable suggestion
🤖 Prompt for AI Agents