Your IP : 216.73.216.222


Current Path : /var/www/iplanru/data/old/www/i-plan.ru/modules/mod_payment/
Upload File :
Current File : /var/www/iplanru/data/old/www/i-plan.ru/modules/mod_payment/mod_payment.php

<?php

// no direct access
defined('_JEXEC') or die('Restricted access');

$cs=hash_hmac("sha1",
		'amount=3.00;description=Test payment;merchant_order_id=123;site=iplanru', 
		'9d03d8087972d5cacf79e24617f30efc');

$hf.='<form id="testform" action="https://simpleapi.sandbox.gateline.net:18610/pay" method=POST>
		<input type=hidden name="amount" value="3.00">
		<input type=hidden name="description" value="Test payment">
		<input type=hidden name="merchant_order_id" value="123">
		<input type=hidden name="site" value="iplanru">
		<input type=hidden name="checksum" value="'.$cs.'">
		<input type=submit>
	</form>

';

echo $hf;
/*
	<script>
		var f = document.getElementById("testform");
		f.submit();
	</script>
*/