<!DOCTYPE html>
<html dir="ltr" lang="pt-br">
<head>
<meta charset="UTF-8" />
<title>Finalizar Compra</title>
</head>
<body>
<form name="cielo" action="<?php echo $action; ?>" method="post">
	<?php foreach($campos as $k=>$v){ ?>
	<input type="hidden" name="<?php echo $k; ?>" value="<?php echo $v; ?>" />
	<?php } ?>
</form>
<script>
document.cielo.submit();
</script>
</body>
</html>