Changeset 17690 for branches/version-1/html/mobile/products/payment.php
- Timestamp:
- 2008/11/06 16:07:37 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-1/html/mobile/products/payment.php
r14676 r17690 218 218 } 219 219 } 220 221 //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ 222 $objView = new SC_SiteView(); 223 $objSiteInfo = $objView->objSiteInfo; 224 $arrInfo = $objSiteInfo->data; 225 $objCartSess = new SC_CartSession(); 226 $arrInfo = $objSiteInfo->data; 227 // ¹ØÆþ¶â³Û¤Î¼èÆÀÆÀ 228 $total_pretax = $objCartSess->getAllProductsTotal($arrInfo); 229 // »Ùʧ¤¤ÊýË¡¤Î¼èÆÀ 230 $arrPayment = lfGetPayment($total_pretax); 231 $pay_flag = true; 232 foreach ($arrPayment as $key => $payment) { 233 if ($payment['payment_id'] == $arrRet['payment_id']) { 234 $pay_flag = false; 235 break; 236 } 237 } 238 if ($pay_flag) { 239 sfDispSiteError(CUSTOMER_ERROR); 240 } 241 220 242 return $objErr->arrErr; 221 243 }
Note: See TracChangeset
for help on using the changeset viewer.
