Cashier 設定檔的自訂
Websphere Commerce 包含一組標準 Cashier 設定檔,
下列中的每個 Payment Manager Cassette 或付款類型各一個:
您不必為了要使用這些設定檔而加以修改。不過,
您可以建立新設定檔或變更上述的 Cashier 設定檔。
如果您要為 WebSphere Commerce 建立新 Cashier 設定檔,請遵循下列規則:
- 新設定檔名稱的字尾必須是 .profile。
- 新設定檔名稱不能和 WebSphere Commerce 標準 Cashier 設定檔相同。
- 新設定檔必須位於 Websphere Commerce 架構檔中 PaymentManager 元素之 ProfilePath 屬性指定的目錄中。
ProfilePath 屬性的預設值為:
drive:\WebSphere\CommerceServer\instances\instance_name\xml\payment\
drive:\Program Files\WebSphere\CommerceServer\instances\instance_name\xml\payment\
/usr/WebSphere/CommerceServer/instances/instance_name/xml/payment/
/opt/WebSphere/CommerceServer/instances/instance_name/xml/payment/
instance root
path/xml/payment/
其中 instance root path 是您在建立案例期間於架構管理程式之案例畫面的「案例根路徑」欄位中指定的路徑。預設路徑為 /QIBM/UserData/WebCommerce/instances/instance_name/。
- 新設定檔中不能含有 PaymentManagerConfiguration 元素,
因為 Websphere Commerce 不支援。Websphere Commerce 會將 Payment Manager 架構資訊儲存在 Websphere Commerce 架構檔中。
- 在付款原則內容欄位中新增一項參照新 Cashier 設定檔的付款原則。
- 除了 <CollectPayment> 元素外,
設定檔中必須含有 Deposit Payment Manager 指令的 <Command name="DEPOSIT"> 元素。
您可以採下列方式來自訂 Cashier 設定檔:
有關 Cashier 設定檔以及建立與自訂用的選項說明,請參閱 IBM
WebSphere Payment Manager for Multiplatforms, Programmer's Guide and Reference,
Version 3.1。


