Changeset 17687
- Timestamp:
- 2008/11/06 15:53:41 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-1/html/shopping/payment.php
r316 r17687 185 185 } 186 186 } 187 188 //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ 189 $objView = new SC_SiteView(); 190 $objSiteInfo = $objView->objSiteInfo; 191 $arrInfo = $objSiteInfo->data; 192 $objCartSess = new SC_CartSession(); 193 $arrInfo = $objSiteInfo->data; 194 // ¹ØÆþ¶â³Û¤Î¼èÆÀÆÀ 195 $total_pretax = $objCartSess->getAllProductsTotal($arrInfo); 196 // »Ùʧ¤¤ÊýË¡¤Î¼èÆÀ 197 $arrPayment = lfGetPayment($total_pretax); 198 $pay_flag = true; 199 foreach ($arrPayment as $key => $payment) { 200 if ($payment['payment_id'] == $arrRet['payment_id']) { 201 $pay_flag = false; 202 break; 203 } 204 } 205 if ($pay_flag) { 206 sfDispSiteError(CUSTOMER_ERROR); 207 } 208 187 209 return $objErr->arrErr; 188 210 }
Note: See TracChangeset
for help on using the changeset viewer.