Changeset 15429 for branches/feature-module-zeus
- Timestamp:
- 2007/08/29 19:05:42 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-zeus/data/downloads/module/mdl_zeus/mdl_zeus.inc
r15426 r15429 18 18 ); 19 19 20 define("ZERO_PC", 1); // dtb_payment ¤Î¶èʬÍÑ21 define("ZERO_MOBILE", 2); // dtb_payment ¤Î¶èʬÍÑ22 define("ZERO_CREDIT_ID", 1); // dtb_payment ¤Î¶èʬÍÑ23 24 20 // Á÷¿®¥Ñ¥é¥á¡¼¥¿ 25 define ("SEND_PARAM_CUSTOM", "yes"); 26 define ("SEND_PARAM_ACT", "imode"); 27 define ("SEND_PARAM_SEND", "jpall"); 28 define ("SEND_PARAM_PC_URL", "https://credit.zeroweb.ne.jp/cgi-bin/order.cgi?orders"); 29 define ("SEND_PARAM_MOBILE_URL", "https://credit.zeroweb.ne.jp/cgi-bin/order.cgi"); 30 define ("SEND_PARAM_DELIMITER", "_"); // sendid¤Îʬ³äʸ»ú 21 define ("SECURE_LINK_URL", "https://linkpt.cardservice.co.jp/cgi-bin/secure.cgi"); 31 22 32 23 // ʸ»ú¿ôÀ©¸Â … … 34 25 define ("SEND_LEN", 20); 35 26 27 /************************************************************************************************************** 28 * ´Ø¿ô̾ ¡§sfGetPaymentDB 29 * ½èÍýÆâÍÆ ¡§É¬Íפʥǡ¼¥¿¤ò¼èÆÀ¤¹¤ë¡£ 30 * °ú¿ô1 ¡§ 31 * °ú¿ô2 ¡§ 32 * °ú¿ô3 ¡§ 33 * Ìá¤êÃÍ ¡§¼èÆÀ·ë²Ì 34 **************************************************************************************************************/ 35 function sfGetPaymentDB($module_id, $where = "", $arrWhereVal = array()){ 36 $objQuery = new SC_Query(); 37 38 $arrVal = array($module_id); 39 $arrVal = array_merge($arrVal, $arrWhereVal); 40 41 $arrRet = array(); 42 $sql = "SELECT 43 module_id, 44 memo01 as merchant_id, 45 memo02 as connect_id, 46 memo03 as payment, 47 memo04 as connect_password, 48 memo05 as other_param 49 FROM dtb_payment WHERE module_id = ? " . $where; 50 $arrRet = $objQuery->getall($sql, $arrVal); 51 52 return $arrRet; 53 } 36 54 37 55 /************************************************************************************************************** … … 61 79 sfPrintR($arrPost); 62 80 63 $req = new HTTP_Request( 'https://linkpt.cardservice.co.jp/cgi-bin/secure.cgi');81 $req = new HTTP_Request(SECURE_LINK_URL); 64 82 $req->setMethod(HTTP_REQUEST_METHOD_POST); 65 83 $req->addPostDataArray($arrPost);
Note: See TracChangeset
for help on using the changeset viewer.