<!DOCTYPE html>
<html>
<head>
    <title>Pasarela de Pago</title>
</head>
<body>

<h2>Formulario de Pago</h2>

@if(session('success'))
    <p style="color:green;">{{ session('success') }}</p>
@endif

<form method="POST" action="/procesar-pago">
    @csrf

    <input type="text" name="nombre" placeholder="Nombre" required><br><br>
    <input type="email" name="email" placeholder="Email" required><br><br>
    <input type="number" step="0.01" name="monto" placeholder="Monto" required><br><br>

    <select name="metodo_pago">
        <option value="tarjeta">Tarjeta</option>
        <option value="yape">Yape</option>
        <option value="plin">Plin</option>
    </select><br><br>

    <button type="submit">Pagar</button>
</form>

</body>
</html>