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