Ignore:
Timestamp:
2010/10/27 12:20:04 (13 years ago)
Author:
nanasess
bzr:base-revision:
svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2_5-dev:18870
bzr:committer:
Kentaro Ohkouchi <ohkouchi@loop-az.jp>
bzr:file-ids:

data/class/helper/SC_Helper_Purchase.php sc_helper_purchase.p-20101020100530-jyaoa7ch9pdfjqzp-1
data/class/pages/shopping/LC_Page_Shopping_Confirm.php 15223@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fshopping%2FLC_Page_Shopping_Confirm.php
data/class/util/SC_Utils.php 15078@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Futil%2FSC_Utils.php
data/mtb_constants_init.php 16505@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fmtb_constants_init.php
html/install/sql/insert_data.sql 15078@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fhtml%2Finstall%2Fsql%2Finsert_data.sql
bzr:mapping-version:
v4
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
ohkouchi@loop-az.jp-20101027032001-13l3ma4hbgpfw2fc
bzr:revno:
2351
bzr:revprop:branch-nick:
branches/version-2_5-dev
bzr:root:
branches/version-2_5-dev
bzr:timestamp:
2010-10-27 12:20:01.214999914 +0900
bzr:user-agent:
bzr2.2.0+bzr-svn1.0.3
svn:original-date:
2010-10-27T03:20:01.215000Z
Message:

決済フローの改善(#844)

  • 決済処理中(ORDER_PENDING)の受注ステータスを追加
  • 決済モジュールをロードする前に, 受注情報を dtb_order へ登録するよう修正
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping_Confirm.php

    r18860 r18871  
    151151            // 決済方法により画面切替 
    152152            if($payment_type != "") { 
    153                 // TODO 決済方法のモジュールは Plugin として実装したい 
    154153                $_SESSION["payment_id"] = $arrData['payment_id']; 
     154                $objPurchase = new SC_Helper_Purchase_Ex(); 
     155                $objPurchase->completeOrder(ORDER_PENDING); 
    155156                $this->sendRedirect($this->getLocation(URL_SHOP_MODULE)); 
    156157            }else{ 
    157158                // 受注を完了し, 購入完了ページへ 
    158159                $objPurchase = new SC_Helper_Purchase_Ex(); 
    159                 $objPurchase->completeOrder(); 
     160                $objPurchase->completeOrder(ORDER_NEW); 
     161                $objPurchase->sendOrderMail($arrData["order_id"]); 
    160162                $this->sendRedirect($this->getLocation(URL_SHOP_COMPLETE)); 
    161163            } 
Note: See TracChangeset for help on using the changeset viewer.