prompt

Payment Integration Plan

Integrate payments correctly and securely.

Updated June 2026
The prompt
Plan a payment integration for {{use_case}} using {{provider}}. Cover the flow from checkout to confirmation, why to never handle raw card data yourself (use the providers secure elements), handling webhooks reliably and idempotently for the source of truth, the states a payment moves through, failures, retries, refunds, and reconciliation, security and PCI considerations, and testing with sandbox. Note the common mistakes (trusting the client, missing webhook handling, race conditions) that cause lost or double charges. Keep it secure and reliable.
Did it work? Rate this prompt

Variables

Use case
Payment provider

Details

Author

AI Khazna

License

Security

Type

prompt

Related assets

More curated picks in Development & Code.

Audit before you install

Run any source through our checks - AI visibility, security, performance, and stack detection.

More in Development & Code