- Timestamp:
- 2007/08/29 18:33:23 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-zeus/data/downloads/module/mdl_zeus/mdl_zeus.inc
r15418 r15420 44 44 **************************************************************************************************************/ 45 45 function sfPostPaymentData($arrData){ 46 $arrPost = array( 47 'clientip' => '94181', 48 'cardnumber' => $arrData['card_no01'].$arrData['card_no02'].$arrData['card_no03'].$arrData['card_no04'], 49 'expyy' => $arrData['card_year'], 50 'expmm' => $arrData['card_month'], 51 'telno' => '0663467705', 52 'email' => 'naka@lockon.co.jp', 53 'sendid' => '1111', 54 'username' => $arrData['card_name01'].$arrData['card_name02'], 55 'money' => '3600', 56 'sendpoint' => 'eccube', 57 'send' => 'mall', 58 'pubsec' => '' 59 ); 46 60 47 sfPrintR($arrData); 61 sfPrintR($arrPost); 62 63 $req = new HTTP_Request('https://linkpt.cardservice.co.jp/cgi-bin/secure.cgi'); 64 $req->setMethod(HTTP_REQUEST_METHOD_POST); 65 $req->addPostDataArray($arrData); 66 67 if (!PEAR::isError($req->sendRequest())) { 68 $response = $req->getResponseBody(); 69 $response = mb_convert_encoding($response, "EUC-JP", "Shift-JIS"); 70 } 71 $req->clearPostData(); 72 73 sfPrintR($response); 74 48 75 //Success_order 49 76 return $arrVal;
Note: See TracChangeset
for help on using the changeset viewer.