付款商業原則定義接收付款與支付退款的各項作業。 您可以定義下列付款商業原則:
WebSphere Commerce 提供兩組實作類別,可供這些付款商業原則指令使用。其中一組實作類別可處理信用額度付款方法,另一組則處理 WebSphere Payment Manager Cassette 所支援的所有付款方法。
引導資料中包含一個 InvoiceFormat 原則,其中包括 policyName "DefaultInvoiceFormat" 和 viewName "InvoiceView" 作為範例。 您也可以在下列位置中找到一個範例 JavaServer Page (JSP) 檔案:
drive:\Program
Files\WebSphere\CommerceServer\samples\web\payment\Invoice.jsp
drive:\WebSphere\CommerceServer\samples\web\payment\Invoice.jsp
/usr/WebSphere/CommerceServer/samples/web/payment/Invoice.jsp
/opt/WebSphere/CommerceServer/samples/web/payment/Invoice.jsp
/opt/WebSphere/CommerceServer/samples/web/payment/Invoice.jsp
/QIBM/ProdData/WebCommerce/samples/web/payment/Invoice.jsp
若要將此 JSP 檔使用於 DefaultInvoiceFormat 原則中,您必須將此範例 JSP 檔複製到儲存其它商店層次 JSP 檔的目錄中。
付款商業原則會預先定義於引導資料中。
![]() |