스킬 개발

결제 연결

Checkout과 Webhook

Stripe Best Practices

Stripe를 연결할 때는 Checkout, Webhook, 멱등을 쓰고, 비밀 키는 클라이언트에 두지 않아요.

CursorClaudeCodex모든 에이전트 Stripepaymentswebhooks

무엇인가

Stripe Best Practices steers agents toward current Stripe APIs, verified webhook handlers, and idempotent server writes. It blocks the common failure mode of charging on the client and trusting the redirect alone.

예시 프롬프트

결제 연결

일회성 구매에 Checkout을 더해요. Webhook 서명을 검증하고, 결제 상태는 멱등으로 저장해요.

출처: Stripe

설치 가이드 읽기

비슷한 스킬