Ignore:
Timestamp:
2012/03/04 22:25:28 (11 years ago)
Author:
Seasoft
Message:

#1633 (エラーハンドリングの改善)
#1613 (typo修正・ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/helper/SC_Helper_Purchase.php

    r21572 r21589  
    7979        $orderTemp['status'] = $orderStatus; 
    8080        $cartkey = $objCartSession->getKey(); 
    81         $orderId = $this->registerOrderComplete($orderTemp, $objCartSession, $cartkey); 
     81        $order_id = $this->registerOrderComplete($orderTemp, $objCartSession, $cartkey); 
    8282        $isMultiple = SC_Helper_Purchase::isMultiple(); 
    8383        $shippingTemp =& $this->getShippingTemp($isMultiple); 
    8484        foreach ($shippingTemp as $shippingId => $val) { 
    85             $this->registerShipmentItem($orderId, $shippingId, $val['shipment_item']); 
    86         } 
    87  
    88         $this->registerShipping($orderId, $shippingTemp); 
     85            $this->registerShipmentItem($order_id, $shippingId, $val['shipment_item']); 
     86        } 
     87 
     88        $this->registerShipping($order_id, $shippingTemp); 
    8989        $objQuery->commit(); 
    9090 
     
    9494        } 
    9595 
    96         $this->cleanupSession($orderId, $objCartSession, $objCustomer, $cartkey); 
    97  
    98         GC_Utils_Ex::gfFrontLog('order complete. customerId=' . $customerId); 
    99  
     96        $this->cleanupSession($order_id, $objCartSession, $objCustomer, $cartkey); 
     97 
     98        GC_Utils_Ex::gfPrintLog('order complete. order_id=' . $order_id); 
    10099    } 
    101100 
     
    516515    function extractShipping($arrSrc) { 
    517516        $arrKey = array(); 
    518         foreach($this->arrShippingKey as $key) { 
     517        foreach ($this->arrShippingKey as $key) { 
    519518            $arrKey[] = 'shipping_' . $key; 
    520519        } 
Note: See TracChangeset for help on using the changeset viewer.