/*include("data.php"); $result = mysql_query("SELECT * FROM `myorder` where id = '$id'", $link); $row=mysql_fetch_array($result); $amount=$row[amount]; */ $testloc = "https://test.paydollar.com/b2cDemo/eng/payment/payForm.jsp"; //$prodloc = "https://www.paydollar.com/b2c2/eng/payment/payForm.jsp"; $success_url = $domain_link."pay_success.php"; $fail_url = $domain_link."pay_failed.php"; $cancel_url = $domain_link."pay_cancel.php"; //Database name: pong_pong $orderRef = "pong_1"; //Success 'UPDATE `tb_order` SET `order_status` = "3" WHERE `tb_order`.`id` =1 LIMIT 1 '; //Failed 'UPDATE `tb_order` SET `order_status` = "2" WHERE `tb_order`.`id` =1 LIMIT 1 '; ?> $temp=explode(',',$_SERVER["HTTP_ACCEPT_LANGUAGE"]); $lang='C'; if(strstr($temp[0],'en')){ //$lang='E'; } ?>