'use client';
import Image from 'next/image';
import { useRouter } from 'next/navigation';
interface TransactionDetail {
label: string;
value: string;
bold?: boolean;
}
const TRANSACTION_DETAILS: TransactionDetail[] = [
{ label: 'Transaction ID', value: 'REQ-89234475', bold: true },
{ label: 'Amount Paid', value: '$499.00', bold: true },
{ label: 'Date', value: 'Oct 24, 2024', bold: true },
];
export function PaymentSuccessForm() {
const router = useRouter();
return (
<>
{/* Page Title */}
Payments
Manage Your billing cycles , upgrade your plan , or boost individual listings
{/* Payment Success Card */}
{/* Success Icon */}
{/* Success Title */}
Payment Successful !
{/* Success Description */}
Your annual membership is now active. You have full access to all premium features
{/* Transaction Details Section */}
{/* Header Row */}
Transaction Details
Verified User
{/* Detail Rows */}
{TRANSACTION_DETAILS.map((detail) => (
{detail.label}
{detail.value}
))}
{/* Divider */}
{/* Next Renewal Date */}
Next Renewal Date
Oct 24, 2025
{/* Action Buttons */}
{/* Trust Badges */}
Verified User
Secure Checkout
>
);
}