[Svn-src-all:4267] [version-2_13_0 23181] refs #1506 決済処理中ロールバック時にdel_flgがfalseになっているのを修正

h_yoshimoto admin @ mail.ec-cube.net
2013年 9月 3日 (火) 16:45:04 JST


Subversion committed to /home/svn/open 23181
http://svn.ec-cube.net/open_trac/changeset/23181
┌────────────────────────────┐
│更新者 :  h_yoshimoto                                  │
│更新日時:  2013-09-03 16:45:04 +0900 (火, 03  9月 2013)│
└────────────────────────────┘

Log:
--------------------------------------------------------
refs #1506 決済処理中ロールバック時にdel_flgがfalseになっているのを修正

Changed:                      [U:修正,A:追加,D:削除]
--------------------------------------------------------
U   branches/version-2_13_0/data/class/helper/SC_Helper_Purchase.php

変更: branches/version-2_13_0/data/class/helper/SC_Helper_Purchase.php
===================================================================
--- branches/version-2_13_0/data/class/helper/SC_Helper_Purchase.php	2013-09-03 05:40:17 UTC (rev 23180)
+++ branches/version-2_13_0/data/class/helper/SC_Helper_Purchase.php	2013-09-03 07:45:04 UTC (rev 23181)
@@ -1341,7 +1341,7 @@
 
         return $objQuery->nextVal('dtb_order_order_id');
     }
-
+    
     /**
      * 決済処理中スタータスの全受注検索
      */
@@ -1357,7 +1357,7 @@
             if (!SC_Utils_Ex::isBlank($arrOrders)) {
                 foreach ($arrOrders as $arrOrder) {
                     $order_id = $arrOrder['order_id'];
-                    SC_Helper_Purchase_Ex::cancelOrder($order_id, ORDER_CANCEL, false);
+                    SC_Helper_Purchase_Ex::cancelOrder($order_id, ORDER_CANCEL, true);
                     GC_Utils_Ex::gfPrintLog('order cancel.(time expire) order_id=' . $order_id);
                 }
             }




Svn-src-all メーリングリストの案内