'use client' import Link from 'next/link' import { useSearchParams } from 'next/navigation' import { Suspense } from 'react' function PaymentSuccessContent() { const searchParams = useSearchParams() const paymentId = searchParams.get('paymentId') const amount = searchParams.get('amount') const currency = searchParams.get('currency') return (
Your test payment has been processed successfully
{paymentId}
๐ก Demo Tip: This was a simulated payment using the test provider. In production, you would integrate with real providers like Stripe or Mollie.