スキル 開発

決済をつなぐ

Checkout と Webhook

Stripe Best Practices

Checkout、Webhook、冪等性を使い、秘密鍵をクライアントに置かず Stripe を接続します。

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.

例のプロンプト

決済をつなぐ

1回の購入に Checkout を追加してください。Webhook の署名を検証し、冪等な方法で支払い状態を保存してください。

出典: Stripe

インストール手順を読む

近いスキル