Stripe Webhook
A Stripe webhook is an HTTP callback from Stripe's servers to your app, delivering events like checkout.session.completed, customer.subscription.updated, or invoice.payment_failed. Webhooks are the only reliable source of truth for subscription state — never trust the client-side redirect after payment. A correctly configured webhook endpoint verifies the Stripe signature, logs the event, and is idempotent (can handle duplicate deliveries).
Stripe 웹훅은 Stripe 서버가 앱에 보내는 HTTP 콜백으로, checkout.session.completed, customer.subscription.updated, invoice.payment_failed 같은 이벤트를 전달해요. 구독 상태의 유일한 신뢰 가능한 소스 — 결제 후 클라이언트 리디렉션 믿지 마세요. 올바른 엔드포인트는 Stripe 시그니처 검증, 이벤트 로깅, 멱등성(중복 처리 가능).
Stripe Webhookは、Stripeサーバーからアプリへの HTTPコールバック。checkout.session.completed、customer.subscription.updated、invoice.payment_failedなどのイベントを届けます。サブスク状態の唯一の信頼できる真実 — 決済後のクライアントリダイレクトは信用しないこと。正しい実装は署名検証、イベントログ、冪等性(重複配信対応)。