Stripe logo
Slack logo

Workflow template

Send Slack alerts for failed Stripe payments

Alert Slack when a Stripe PaymentIntent attempt fails. Include the payment ID, attempted amount in minor units, currency, event ID and live mode, with a reminder to check the latest payment status.

How it works

From a failed PaymentIntent attempt to a Slack alert

1 Trigger · 1 Action
Stripe1 · Trigger

Payment Intent Payment Failed

Receive payment_intent.payment_failed, not successful, pending or canceled payment events. Another failed-attempt event for the same payment can produce another alert.

Slack2 · Action

Notify the team about a failed payment

Post PaymentIntent ID, amount in source minor units, currency, event ID and livemode as the FastHook bot. Include the review reminder and disable mrkdwn and link/media previews; no source timestamp or record URL is mapped.

The result

A failed-attempt reference for your payment-alert channel

Example Slack failed-payment alert

Stripe payment attempt failed Payment ID: pi_example_slack_failed_payment Attempted amount (minor units): 2900 Currency: eur Event ID: evt_example_slack_failed_payment Live mode: false Review the payment in Stripe before following up; a later attempt may succeed.

Fictional EUR sandbox failure. This represents a failed attempt, not a permanent outcome or an amount received. Live mode=false identifies test data.

Before activation

Set up your workflow

  1. Connect Stripe’s failed-attempt source

    Use Stripe sandbox first and retain Payment Intent Payment Failed. This source is distinct from invoice-specific retry events and does not track every status change.

  2. Choose the Slack payment-alert channel

    Connect Slack and Browse to a channel where FastHook can post. Review access to payment identifiers and amounts, and retain the prepared plain-text and disabled-preview settings.

  3. Verify a sandbox attempt before acting

    Activate, wait for Connected and inspect a fictional failure in Slack. Compare the original minor-unit amount and currency, and review the latest payment status in Stripe before deciding on follow-up.

Details and limitations
  • A failed attempt can later succeed. Each new matching failure can alert again. The workflow does not observe successes or keep earlier notices current, so inspect the latest payment state before contacting anyone.

  • Minor units depend on the currency. The source amount is unconverted: 2900 represents 29.00 for EUR or USD, but 2900 for JPY. No fees, amount-received calculation or universal divide-by-100 conversion is performed.

  • This is an internal alert only. The workflow does not retry charges, refund, message customers or run an invoice-collection schedule. Card data, client secrets, contact information and raw errors are not forwarded. Manual reruns can duplicate messages.

Questions about this template

Does the alert mean the payment can never succeed?

No. It reports a failed attempt. A later retry can succeed, so review the current payment in Stripe before deciding whether follow-up is needed.

What does Attempted amount 2900 mean?

Interpret it using the currency’s minor units: 29.00 EUR or USD, but 2900 JPY. The template preserves the source amount without conversion and does not show amount received.

Are payment timestamps, links or raw errors included?

No. The message contains PaymentIntent ID, attempted amount, currency, event ID and live mode with a review reminder. Timestamp, record link, card details, client secrets and raw errors are not mapped.

Does it retry payments or update an alert after success?

No. It posts new failure notices, with no charge retry, refund, customer message or later-state synchronization. Another failure or a manual rerun can send another alert.

Explore connected apps