新 Cashier 設定檔
如果您建立新 Cashier 設定檔,您必須遵循下列規則:
- 新設定檔名稱的字尾必須是 .profile。
- 新設定檔的名稱不能和 Websphere Commerce 標準 Cashier 設定檔相同。
- 新設定檔必須位於 Websphere Commerce 架構檔中 PaymentManager 元素之 ProfilePath 屬性指定的目錄中。
ProfilePath 屬性的預設值為:
drive:\WebSphere\CommerceServer\instances\instance_name\xml\payment\
drive:\ProgramFiles\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 不支援。Payment Manager 架構資訊會儲存在 Websphere Commerce 架構檔中。
- 除了 <CollectPayment> 元素外,
設定檔中必須含有 Deposit Payment Manager 指令的 <Command name="DEPOSIT"> 元素。
如果要建立新 Cashier 設定檔,請參閱 IBM WebSphere Payment Manager for Multiplatforms, Programmer's Guide and Reference, Version 3.1。