<!DOCTYPE html>
<?php
$identificador=$_GET["identificador"];
?>
<html>

    <head>
        <meta charset="utf-8">
		<meta http-equiv="Content-Security-Policy" content="default-src * self blob: data: gap:; style-src * self 'unsafe-inline' blob: data: gap:; script-src * 'self' 'unsafe-eval' 'unsafe-inline' blob: data: gap:; object-src * 'self' blob: data: gap:; img-src * self 'unsafe-inline' blob: data: gap:; connect-src self * 'unsafe-inline' blob: data: gap:; frame-src * self blob: data: gap:;">
        <meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover">
        <meta name="color-scheme" content="light dark">
        <link rel="stylesheet" href="assets/jquery.mobile.structure-1.4.5.min.css">
		<link rel="stylesheet" href="assets/jquery.mobile.icons.min.css">
		<link rel="stylesheet" href="assets/jquery.mobile.flatui.css" />
		<link rel="stylesheet" href="assets/style.css">
		
		<script src="assets/jquery-1.11.1.min.js"></script>
		<script src="assets/jquery.mobile-1.4.5.min.js"></script>
		
		<!--<script src="js/fuction.js"></script>-->

		
		
        <title>PIXPAY</title>
    </head>
    <body>

					<script>
					
					var isk = "<?php echo $identificador; ?>";
					console.log(isk);

					function atualizar(isk)
					{
						// Fazendo requisição AJAX
						$.post('https://app.pixpay.com.py/woovi/change.php?identificador=' + isk, function (coleta) {

							// Exibindo coleta
							if (coleta.status == 'COMPLETED') {
							   document.getElementById('V01').style.display = 'block';
							};
							
						}, 'JSON');
					}
					
					// Definindo intervalo que a função será chamada
					setInterval("atualizar(isk)", 500);
				</script>
<span><img id="V01" src="https://pixpay.com.py/asset/images/confirmado.png" style="z-index: 999!important;position: fixed;display: none;"></span>
</body>			
</html>

