βΆWhat's the difference between Stripe Checkout and Stripe Elements?
Checkout: Pre-built hosted payment page, fastest integration (2-3 days), handles SCA/3DS automatically, no custom styling. Elements: Low-level UI components for custom checkout forms, full control over layout/branding, more integration time (1-2 weeks), requires manual SCA/3DS handling. Use Checkout for rapid MVP; use Elements for branded, custom payment flows.
βΆHow do webhooks ensure payment security and reliability?
Webhooks are asynchronous, server-side payment confirmations independent of client-side callbacks. They're essential because clients can be interrupted (page close, network failure). Always verify webhook signatures using Stripe's public key to prevent spoofing. Webhook handlers are idempotent β process same event multiple times safely. Use webhooks as the source of truth, never client-side confirmations alone.
βΆWhat are idempotency keys and why do they matter?
Idempotency keys (unique request IDs) allow safe retry logic: if a network timeout occurs mid-request, retry with the same key and Stripe returns the cached result instead of creating duplicate charges. Format: UUID v4 or similar. Essential for robust payment systems β prevents double-charging on network failures. Include idempotency keys in all Stripe API calls that create resources.
βΆHow does Stripe Connect work for marketplaces and why use it?
Stripe Connect lets platforms split revenue between platform and sellers: platform receives payments, then transfers funds to seller Connected Accounts. Automates payout scheduling, holds, and compliance. Alternatives (collecting seller bank details, manual payouts) are error-prone and don't scale. Use Stripe Connect for any marketplace, creator platform, or on-demand service needing seller payouts.
βΆWhat's the difference between one-time payments, subscriptions, and recurring invoices?
One-time: single charge, customer receives product/service once. Subscriptions (Stripe Billing): recurring charges at fixed intervals, auto-retry on failure (dunning), flexible prorations on plan changes. Invoicing: send invoice to customer, they pay on-demand (B2B, not automated). Use subscriptions for SaaS; use invoicing for client contracts.
βΆHow do dunning and retry logic prevent subscription churn?
Dunning: automated payment retry when subscription renewal fails (e.g., expired card). Stripe Billing auto-retries over 3-4 days with exponential backoff. Can email customer and attempt alternative payment methods. Recovers ~40-60% of failed charges vs. ~5% manual. Configure retry schedules in Stripe Billing dashboard β more aggressive for high-value customers.
βΆWhat's the difference between Tax and Radar, and when do I use each?
Tax: automatically calculate VAT/GST/sales tax for B2C transactions (EU, UK, AU, CA rules built-in). Radar: AI/rule-based fraud detection that flags risky transactions. Both are optional but essential: Tax for GDPR/compliance (automatic VAT invoice line-items); Radar for chargeback prevention (can decline/flag before processing).