Stripe Best Practices
Il intègre Stripe de façon sûre : Checkout, Webhook, idempotence, et les clés restent hors du client.
De quoi il s’agit
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.
Prompt d’exemple
Brancher le paiement
Ajoutez Checkout pour un achat en une fois. Vérifiez la signature du Webhook, et enregistrez l’état du paiement de façon idempotente.
Source : Stripe
Lire le guide d’installation