- Timestamp:
- 2008/01/06 02:26:36 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/beta/data/downloads/module/mdl_zeus/mdl_zeus.inc
r16916 r16960 86 86 $objQuery->setorder("create_date DESC"); 87 87 $col = "order_id, order_tel01, order_tel02, order_tel03"; 88 $where = "memo01 = ? AND memo03 = ? AND customer_id = ? AND del_flg = 0";88 $where = "memo01 = ? AND memo03 = ? AND memo04 is NULL AND customer_id = ? AND del_flg = 0"; 89 89 $arrRet = $objQuery->select($col, "dtb_order", $where, array(MDL_ZEUS_ID, 'Success_order', $arrData['customer_id'])); 90 90 91 91 // ²áµî¤ÎÃíʸ¤¬¤¢¤ê¡¢¸ÜµÒÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë¡£ 92 92 if(count($arrRet) > 0 && $arrData['customer_id'] > 0) { … … 106 106 'pubsec' => 'yes' 107 107 ); 108 $arrVal["memo04"] = 'quick_charge:' . $arrRet[0]['order_id']; // ½èÍý·ë²Ì 108 109 } else { 109 110 // ¥À¥ß¡¼¤ÎPostÃͤòÀ¸À®¤¹¤ë¡£ … … 123 124 'pubsec' => 'yes' 124 125 ); 126 $arrVal["memo04"] = 'quick_charge:0'; // ½èÍý·ë²Ì 125 127 gfPrintLog("²áµî¤ÎÃíʸ¤¬¤Ê¤¤¤«¡¢²ñ°÷ID¤¬¤¢¤ê¤Þ¤»¤ó¡£"); 126 128 } … … 130 132 $req->setMethod(HTTP_REQUEST_METHOD_POST); 131 133 $req->addPostDataArray($arrPost); 134 135 // ¥«¡¼¥ÉÈÖ¹æ¤òºï½ü¤·¤Æ¥í¥°¤ò»Ä¤¹¡£ 136 $arrTemp = $arrPost; 137 $arrTemp['cardnumber'] = '****************'; 138 gfDebugLog($arrTemp); 132 139 133 140 if (!PEAR::isError($req->sendRequest())) { … … 141 148 $arrVal["memo01"] = MDL_ZEUS_ID; // ¥â¥¸¥å¡¼¥ëID 142 149 $arrVal["memo03"] = $response; // ½èÍý·ë²Ì 150 // ¢¨memo04¤Ïquick_charge¤Ç»ÈÍѤ¹¤ë¡£ 151 143 152 // ¼õÃí°ì»þ¥Æ¡¼¥Ö¥ë¤Ë¹¹¿· 144 153 sfRegistTempOrder($arrData['order_temp_id'], $arrVal);
Note: See TracChangeset
for help on using the changeset viewer.
