Skip to content

Instantly share code, notes, and snippets.

@adagio
Last active December 16, 2020 12:08
Show Gist options
  • Save adagio/22fba5b16f9e2ad14c056e0d01ce2170 to your computer and use it in GitHub Desktop.
Save adagio/22fba5b16f9e2ad14c056e0d01ce2170 to your computer and use it in GitHub Desktop.
inicio.html con formulario para carga de niubiz
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Detalle de pago</title>
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
</head>
<body>
<br>
<div class="container">
<h1 class="text-center">Pago con Visa</h1>
<hr>
<h3>Información del pago</h3>
<b style="padding-left:20px;">Importe a pagar: </b> $ 1 <br>
<b style="padding-left:20px;">Número de pedido: </b> <br>
<b style="padding-left:20px;">Concepto: </b> Detalle de pago <br>
<b style="padding-left:20px;">Fecha: </b> 12/12/2020 <br>
<hr>
<!-- <h3>Realiza el pago</h3> -->
<input type="checkbox" name="ckbTerms" id="ckbTerms" onclick="visaNetEc3()"> <label for="ckbTerms">Acepto los <a href="#" target="_blank">Términos y condiciones</a></label>
<form id="frmVisaNet" action="http://localhost:8082/PagoWebPhp/finalizar.php?amount=1&purchaseNumber=21">
<script src="https://static-content-qas.vnforapps.com/v2/js/checkout.js?qa=true"
data-sessiontoken="84182eb6d9a65acbdbccd26913462a054a8c4ee084a6ae3feb39d589cf016892"
data-channel="web"
data-merchantid="750000777"
data-merchantlogo="http://localhost:8082/PagoWebPhp/assets/img/logo.png"
data-purchasenumber="21"
data-amount="1"
data-expirationminutes="5"
data-timeouturl="http://localhost:8082/PagoWebPhp/"
></script>
</form>
</div>
</body>
<script src="assets/js/script.js"></script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment