Why your card briefly shows "Saving with Stripe…" after add

When you add a card in Settings → Wallet, the platform shows a brief "Saving your card with Stripe…" spinner for a few seconds before your card appears in the saved-payment-method panel. This is intentional. Here's what's happening behind the scenes.

The flow:

1. You enter your card details in the Stripe Elements form and click Save.
2. Stripe immediately tokenizes the card on its servers, runs fraud checks, attaches a payment method to your customer record.
3. Stripe returns success to your browser — the form closes.
4. **Stripe sends a webhook to Turtini's backend** announcing the new payment method (this is the part that takes a few seconds).
5. Turtini's backend updates your billing record with the card brand, last 4 digits, and default-payment flag.
6. The Wallet UI is subscribed to your billing record in real time, so the moment the backend writes the new fields, the UI flips to show your card.

Why the spinner exists:

Before the platform showed the spinner, the UI would flash the empty "no card on file" state for a few seconds while waiting on the webhook, then flip to "card on file" when the webhook landed. That looked like the card add had failed. The spinner gives explicit feedback that work is in progress.

When the spinner times out:

If the spinner has been spinning for 10 seconds and your card hasn't appeared, the UI drops back to the empty state so you can try again. This is rare — typical webhook latency is 500ms to 2 seconds — but it can happen if Stripe is experiencing delivery delays or if a transient network issue blocks the webhook.

If your card never shows up:

1. Refresh the Wallet page. The platform re-subscribes to the billing doc on every page load, so a fresh read catches anything missed.
2. Check Stripe Dashboard — go to dashboard.stripe.com, find the customer record for your account, confirm the payment method is attached. If it's there, the webhook was successful but Turtini didn't pick it up. Contact [email protected] with your Turtini email and we'll re-sync from Stripe.
3. If it's NOT in Stripe Dashboard, the card add itself failed. Stripe's error message should have been surfaced inline — look for a red error box near the card form. Common reasons: wrong CVV, expired card, address verification mismatch, fraud-flag review.