lomi.
Lomi UIComponents

Payment Failure Card

Help customers retry or recover from a failed payment.

Payment Failure Card

Use this after a failed payment attempt or provider timeout.

Preview

Payment failed

The provider could not confirm this payment. Ask the customer to retry or choose another rail.

Amount
12 500 F CFA
Provider
MTN Mobile Money
Contact support

Installation

Install to your codebase

Copy the component source with shadcn.

npx shadcn@latest add https://docs.lomi.africa/r/payment-failure-card.json

Usage

import { PaymentFailureCard } from '@/components/lomi-ui/payment-failure-card';

<PaymentFailureCard
  amount={12500}
  currency="XOF"
  provider="MTN Mobile Money"
  supportHref="/support"
/>;

Props

PropTypeDescription
titlestringOptional heading.
messagestringRecovery copy.
amountnumberOptional failed amount.
currencystringISO currency code.
providerstringProvider label.
onRetry() => voidRetry action.
supportHrefstringOptional support link.

Sur cette page