Category : checksum

I have downlaoded Paytm Web sample kit php and integrate gateway in my site but i got an issue in chrome browser only which is checksum mismatched. In other browsers it works fine . I use following code to generate checksum header("Pragma: no-cache"); header("Cache-Control: no-cache"); header("Expires: 0"); // following files need to be included require_once("./lib/config_paytm.php"); ..

Read more

code: (for paytm only) if ($req->RADIO == "Paytm") { $parameters = [ ‘ORDER_ID’ => $req->ORDER_ID, ‘CUST_ID’ => $req->MOBILE_NUMBER, ‘TXN_AMOUNT’ => $req->TXN_AMOUNT ]; $order = Indipay::gateway(‘paytm’)->prepare($parameters); return Indipay::process($order); } Response on paytm (test mode) : CHECKSUMHASH missing: This attribute is not passed. It is a mandatory attribute the DD(die and dump) of $order: SoftonIndipayGatewaysPaytmGateway {#304 ▼ ..

Read more