Stripe Best Practices
Integre o Stripe do jeito seguro: Checkout, Webhook, idempotência e sem chave no cliente.
O que é
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 de exemplo
Receber o pagamento
Adicione Checkout para uma compra única. Verifique a assinatura do Webhook e grave o estado do pagamento de forma idempotente.
Fonte: Stripe
Ler o guia de instalação