We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d42992c commit 110f8ddCopy full SHA for 110f8dd
.changeset/dull-peaches-camp.md
@@ -0,0 +1,5 @@
1
+---
2
+'@clerk/clerk-js': patch
3
4
+
5
+Bug fix: Use the same cache key for payment sources across checkout and profiles.
packages/clerk-js/src/ui/components/PaymentSources/PaymentSources.tsx
@@ -92,7 +92,7 @@ const PaymentSources = (_: __experimental_PaymentSourcesProps) => {
92
__experimental_commerce?.getPaymentSources,
93
{ ...(subscriberType === 'org' ? { orgId: organization?.id } : {}) },
94
undefined,
95
- 'commerce-user-payment-sources',
+ 'commerce-payment-sources',
96
);
97
const { data: paymentSources } = data || { data: [] };
98
0 commit comments