+ {/* Payment Summary Card */}
+
+
Payment Summary
+
+
+ Item
+ {itemDescription}
+
+
+ Amount
+ LKR {amount.toFixed(2)}
+
+
+
+ Customer
+ {customerFirstName} {customerLastName}
+
+
+ Email
+ {customerEmail}
+
+
+
+
+
+ {/* Error Message */}
+ {error && (
+
+ )}
+
+ {/* Success Message */}
+ {success && (
+
+
Payment completed successfully!
+
+ )}
+
+ {/* Pay Button */}
+
+
+ {/* Payment Info */}
+
+
+ Secure payment powered by PayHere. Your payment information is encrypted and secure.
+
+
+
+ );
+}
diff --git a/src/app/payment-gateway/page.tsx b/src/app/payment-gateway/page.tsx
new file mode 100644
index 0000000..15140e7
--- /dev/null
+++ b/src/app/payment-gateway/page.tsx
@@ -0,0 +1,189 @@
+'use client'
+
+import React, { useState, useEffect, Suspense } from 'react';
+import Link from 'next/link';
+import { useRouter, useSearchParams } from 'next/navigation';
+import PaymentGateway from '../components/PaymentGateway';
+import ThemeToggle from '../components/ThemeToggle';
+
+// Icon Components
+const Icon = ({ d, size = 10 }: { d: string; size?: number }) => (
+