Group
  • Payments

    Send proper payment receipts

    Sends a receipt for every successful charge with the details customers need for their records and expense reports.

    • Automate workflows
    • Improve quality
    • Beginner
    • General

Free Prompt

Make sure every successful payment in my app produces a proper receipt email. Check what's sent now, if anything, and what it contains. Implement or fix: a receipt email triggered by the payment-success webhook (not the checkout redirect, so receipts match actual money movement and users who close tabs still get them); containing the amount, currency, date, what was purchased, the last four digits of the card or payment method, an invoice or order reference, and a link to view or download the invoice (the provider's hosted invoice URL is fine); sent exactly once per payment (idempotent with the webhook deduping); and covering renewals too, not just first purchases, since subscription customers need a receipt every cycle for expenses. Failed payments should never generate a receipt, and refunds should generate their own confirmation email referencing the original charge. Use the email system already in the project. Don't duplicate receipts the provider sends if I have its built-in receipts enabled; pick one sender so customers don't get two. Include my business name and support contact in the receipt so card statements are traceable back to me. Deliver: the receipt email with its trigger, the renewal coverage, the refund confirmation, and verification in test mode: complete a purchase, confirm one receipt with correct details, and confirm a renewal event produces one too.

What This Does / How This Helps

Makes every charge produce a single, complete receipt email, triggered by the actual payment event rather than the browser's redirect. Missing receipts are a quiet chargeback driver: a customer doesn't recognize the charge on their statement, has no email to match it against, and disputes it instead of asking. Wrong receipts (sent on redirect for a payment that later failed) are worse, because now the customer has proof of a charge you say didn't happen. Renewal coverage is the part first versions miss: subscription customers need a receipt every month, and expense-report users will ask for every single one.

Want to skip doing this by hand?

Fortivibe audits your app for all of the areas these prompts cover (and more).

See What We Check

Related Prompts