From 41940102b2ef989ac4646ab23a67f3ff9447f410 Mon Sep 17 00:00:00 2001 From: kleap-admin Date: Fri, 16 Jan 2026 16:33:25 +0000 Subject: [PATCH] Update app/payment/page.tsx --- app/payment/page.tsx | 73 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 app/payment/page.tsx diff --git a/app/payment/page.tsx b/app/payment/page.tsx new file mode 100644 index 0000000..1318edb --- /dev/null +++ b/app/payment/page.tsx @@ -0,0 +1,73 @@ +"use client"; +import { useSearchParams, useRouter } from "next/navigation"; +import { Container } from "@/components/container"; +import { Heading } from "@/components/heading"; +import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; +import { Button } from "@/components/ui/button"; +import { CheckCircle2, Copy, QrCode } from "lucide-react"; + +import { NavBar } from "@/components/navbar"; +import { Footer } from "@/components/footer"; + +export default function PaymentPage() { + const searchParams = useSearchParams(); + const router = useRouter(); + const orderId = searchParams.get("orderId"); + + const handleConfirm = () => { + // Simulate payment confirmation + const order = JSON.parse(localStorage.getItem(`order_${orderId}`) || "{}"); + order.status = "Pagado"; + order.trackingNumber = "PAL-" + Math.random().toString(36).substring(2, 10).toUpperCase(); + localStorage.setItem(`order_${orderId}`, JSON.stringify(order)); + router.push(`/success?orderId=${orderId}`); + }; + + return ( +
+ + + + + Instrucciones de Pago +

Orden: #{orderId}

+
+ +
+

+ Pago con Binance (USDT) +

+
+ TY7x9v2B8n1m4K5L6P3Q2W1E0R9T8Y7U6I +
+ +
+ +
+

Transferencia Bancaria / ACH

+
+

Banco: Chase Bank / BBVA

+

Cuenta: 1234567890

+

CLABE: 012345678901234567

+

Beneficiario: EL PALACIO DE TENI LLC

+
+
+ +
+

+ Una vez realizado el pago, haz clic en el botón de abajo para confirmar. + Nuestro sistema verificará la transacción en minutos. +

+ +
+
+
+
+
+ ); +}