%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<?php header("Pragma: no-cache"); header("Cache-Control: no-cache"); header("Expires: 0"); // following files need to be included require_once("./lib/config_paytm.php"); require_once("./lib/encdec_paytm.php"); $ORDER_ID = ""; $requestParamList = array(); $responseParamList = array(); if (isset($_POST["ORDER_ID"]) && $_POST["ORDER_ID"] != "") { // In Test Page, we are taking parameters from POST request. In actual implementation these can be collected from session or DB. $ORDER_ID = $_POST["ORDER_ID"]; // Create an array having all required parameters for status query. $requestParamList = array("MID" => PAYTM_MERCHANT_MID , "ORDERID" => $ORDER_ID); $StatusCheckSum = getChecksumFromArray($requestParamList,PAYTM_MERCHANT_KEY); $requestParamList['CHECKSUMHASH'] = $StatusCheckSum; // Call the PG's getTxnStatusNew() function for verifying the transaction status. $responseParamList = getTxnStatusNew($requestParamList); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Transaction status query</title> <meta name="GENERATOR" content="Evrsoft First Page"> </head> <body> <h2>Transaction status query</h2> <form method="post" action=""> <table border="1"> <tbody> <tr> <td><label>ORDER_ID::*</label></td> <td><input id="ORDER_ID" tabindex="1" maxlength="20" size="20" name="ORDER_ID" autocomplete="off" value="<?php echo $ORDER_ID ?>"> </td> </tr> <tr> <td></td> <td><input value="Status Query" type="submit" onclick=""></td> </tr> </tbody> </table> <br/></br/> <?php if (isset($responseParamList) && count($responseParamList)>0 ) { ?> <h2>Response of status query:</h2> <table style="border: 1px solid nopadding" border="0"> <tbody> <?php foreach($responseParamList as $paramName => $paramValue) { ?> <tr > <td style="border: 1px solid"><label><?php echo $paramName?></label></td> <td style="border: 1px solid"><?php echo $paramValue?></td> </tr> <?php } ?> </tbody> </table> <?php } ?> </form> </body> </html>