%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 // Timezeone needs to be set date_default_timezone_set('Asia/Kolkata'); $dateTime = date("Y:m:d-H:i:s"); function getDateTime() { global $dateTime; return $dateTime; } /* Function that calculates the hash of the following parameters: - Store Id - Date/Time(see $dateTime above) - chargetotal - currency (numeric ISO value) - shared secret */ function createHash($chargetotal, $currency) { // Please change the store Id to your individual Store ID $storeId = "3344004055"; // NOTE: Please DO NOT hardcode the secret in that script. For example read it from a database. $sharedSecret = "rrQ68|x*yQ"; $stringToHash = $storeId . getDateTime() . $chargetotal . $currency . $sharedSecret; $ascii = bin2hex($stringToHash); return hash("sha256", $ascii); }