+ {/if}
diff --git a/src/lib/components/billing/statePicker.svelte b/src/lib/components/billing/statePicker.svelte
index 553397d0c..d84d5c39d 100644
--- a/src/lib/components/billing/statePicker.svelte
+++ b/src/lib/components/billing/statePicker.svelte
@@ -2,41 +2,50 @@
import { states } from './states.js';
import { InputSelect } from '$lib/elements/forms';
import type { PaymentMethod } from '@stripe/stripe-js';
- import Card from '../card.svelte';
- import { Alert, Layout, Typography } from '@appwrite.io/pink-svelte';
+ import { Alert, Card, Layout, Typography } from '@appwrite.io/pink-svelte';
import { CreditCardBrandImage } from '../index.js';
export let state: string = '';
export let card: PaymentMethod | null = null;
-{#if card}
-
-
-
- ending in {card.card?.last4}
-
+
+ {#if card}
+
+
+
+ ending in {card.card?.last4}
+
+
+ {card.card.country}
+ {card.billing_details.address.postal_code}
+
+
+ {/if}
+
+
- {card.card.country}
- {card.billing_details.address.postal_code}
+ To complete the billing information, select your state so we can apply the correct taxes
+ and meet U.S. legal requirements.
-
-{/if}
+
-
-
- To complete the billing information, select your state so we can apply the correct taxes and
- meet U.S. legal requirements.
-
-
+ ({
+ label: state.name,
+ value: state.abbreviation,
+ id: state.abbreviation.toLowerCase()
+ }))} />
+