Untitled

mail@pastecode.io avatar
unknown
php
2 years ago
1.0 kB
1
Indexable
Never
<?php
 
 
 
 
 $postData = 'merNo='.$_POST['merNo'].'&transType='.$_POST['transType'].'&amount='.$_POST['amount'].'&currency='.$_POST['currency'].'&tradeNo='.$_POST['tradeNo'].'&billAddrCountry='.$_POST['billAddrCountry'].'&billAddrState='.$_POST['billAddrState'].'&billAddrCity='.$_POST['billAddrCity'].'&billAddress1='.$_POST['billAddress1'].'&billAddress2='.$_POST['billAddress2'].'&billAddress3='.$_POST['billAddress3'].'&billAddrPostCode='.$_POST['billAddrPostCode'].'&payIP='.$_POST['payIP'].'&shipAddrCountry='.$_POST['shipAddrCountry'].'&shipAddrState='.$_POST['shipAddrState'].'&shipAddrCity='.$_POST['shipAddrCity'].'&shipAddress1='.$_POST['shipAddress1'].'&shipAddress2='.$_POST['shipAddress2'].'&shipAddress3='.$_POST['shipAddress3'].'&shipAddrPostCode='.$_POST['shipAddrPostCode'].'&pan='.$_POST['pan'].'&callback='.$_POST['callback'].'&successUrl='.$_POST['successUrl'].'&failUrl='.$_POST['failUrl'].'&key='.$_POST['key'];

 $hash = hash('sha256', $postData);
 print_r($hash);




 



?>