Set up WebSphere Commerce Payments for your own (not starter store) store
You can configure WebSphere Commerce Payments to work with your own store in the following two scenarios:
- If you have custom installed the old implementation of WebSphere Commerce Payments and have created an old Payments instance correctly, then you can configure your old Payments to work with your own store (not the starter store) by providing the "paymentinfo.xml" in your SAR and then calling the appropriate command to configure Payments through the "ibm-wc-load.xml" file, which is the store publishing control file in your SAR.
- If you are using the new implementation of WebSphere Commerce Payments, you can configure it to work with your own store (not with the starter store) by using the new SARs provided with this release of WebSphere Commerce. You can do this configuration by adding the following statements to the "businesspolicy.xml" file:
<policy policy_id="@policy_id_11" policyname="VISA" policytype_id="Payment" storeent_id="@storeent_id_1" properties="attrPageName=StandardVisa&paymentConfigurationId=default&display=true&compatibleMode=false" /> <policy policy_id="@policy_id_12" policyname="Master Card" policytype_id="Payment" storeent_id="@storeent_id_1" properties="attrPageName=StandardMasterCard&paymentConfigurationId=default&display=true&compatibleMode=false" /> <policy policy_id="@policy_id_13" policyname="Check" policytype_id="Payment" storeent_id="@storeent_id_1" properties="attrPageName=StandardCheck&paymentConfigurationId=default&display=true&compatibleMode=false" /> <policy policy_id="@policy_id_14" policyname="AMEX" policytype_id="Payment" storeent_id="@storeent_id_1" properties="attrPageName=StandardAmex&paymentConfigurationId=default&display=true&compatibleMode=false" /> <policy policy_id="@policy_id_15" policyname="BillMeLater" policytype_id="Payment" storeent_id="@storeent_id_1" properties="attrPageName=StandardBillMeLater&paymentConfigurationId=default&display=true&compatibleMode=false" /> <policy policy_id="@policy_id_16" policyname="COD" policytype_id="Payment" storeent_id="@storeent_id_1" properties="attrPageName=StandardCOD&paymentConfigurationId=default&display=true&compatibleMode=false" /> <policy policy_id="@policy_id_17" policyname="PayLater" policytype_id="Payment" storeent_id="@storeent_id_1" properties="attrPageName=StandardPayLater&paymentConfigurationId=default&display=true&compatibleMode=false" />
<policycmd policy_id="@policy_id_11" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoPaymentActionsPolicyCmdImpl" /> <policycmd policy_id="@policy_id_11" businesscmdclass="com.ibm.commerce.payment.actions.commands.EditPaymentInstructionPolicyCmdImpl" /> <policycmd policy_id="@policy_id_11" businesscmdclass="com.ibm.commerce.payment.actions.commands.QueryPaymentsInfoPolicyCmdImpl" /> <policycmd policy_id="@policy_id_11" businesscmdclass="com.ibm.commerce.payment.actions.commands.CheckPaymentAcceptPMCmdImpl" /> <policycmd policy_id="@policy_id_11" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoCancelPMCmdImpl" /> <policycmd policy_id="@policy_id_11" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoDepositPMCmdImpl" /> <policycmd policy_id="@policy_id_11" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoPaymentPMCmdImpl" /> <policycmd policy_id="@policy_id_11" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoRefundPMCmdImpl" /> <policycmd policy_id="@policy_id_12" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoPaymentActionsPolicyCmdImpl" /> <policycmd policy_id="@policy_id_12" businesscmdclass="com.ibm.commerce.payment.actions.commands.EditPaymentInstructionPolicyCmdImpl" /> <policycmd policy_id="@policy_id_12" businesscmdclass="com.ibm.commerce.payment.actions.commands.QueryPaymentsInfoPolicyCmdImpl" /> <policycmd policy_id="@policy_id_12" businesscmdclass="com.ibm.commerce.payment.actions.commands.CheckPaymentAcceptPMCmdImpl" /> <policycmd policy_id="@policy_id_12" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoCancelPMCmdImpl" /> <policycmd policy_id="@policy_id_12" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoDepositPMCmdImpl" /> <policycmd policy_id="@policy_id_12" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoPaymentPMCmdImpl" /> <policycmd policy_id="@policy_id_12" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoRefundPMCmdImpl" />
<policycmd policy_id="@policy_id_13" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoPaymentActionsPolicyCmdImpl" /> <policycmd policy_id="@policy_id_13" businesscmdclass="com.ibm.commerce.payment.actions.commands.EditPaymentInstructionPolicyCmdImpl" /> <policycmd policy_id="@policy_id_13" businesscmdclass="com.ibm.commerce.payment.actions.commands.QueryPaymentsInfoPolicyCmdImpl" /> <policycmd policy_id="@policy_id_13" businesscmdclass="com.ibm.commerce.payment.actions.commands.CheckPaymentAcceptPMCmdImpl" /> <policycmd policy_id="@policy_id_13" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoCancelPMCmdImpl" /> <policycmd policy_id="@policy_id_13" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoDepositPMCmdImpl" /> <policycmd policy_id="@policy_id_13" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoPaymentPMCmdImpl" /> <policycmd policy_id="@policy_id_13" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoRefundPMCmdImpl" />
<policycmd policy_id="@policy_id_14" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoPaymentActionsPolicyCmdImpl" /> <policycmd policy_id="@policy_id_14" businesscmdclass="com.ibm.commerce.payment.actions.commands.EditPaymentInstructionPolicyCmdImpl" /> <policycmd policy_id="@policy_id_14" businesscmdclass="com.ibm.commerce.payment.actions.commands.QueryPaymentsInfoPolicyCmdImpl" /> <policycmd policy_id="@policy_id_14" businesscmdclass="com.ibm.commerce.payment.actions.commands.CheckPaymentAcceptPMCmdImpl" /> <policycmd policy_id="@policy_id_14" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoCancelPMCmdImpl" /> <policycmd policy_id="@policy_id_14" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoDepositPMCmdImpl" /> <policycmd policy_id="@policy_id_14" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoPaymentPMCmdImpl" /> <policycmd policy_id="@policy_id_14" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoRefundPMCmdImpl" />
<policycmd policy_id="@policy_id_15" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoPaymentActionsPolicyCmdImpl" /> <policycmd policy_id="@policy_id_15" businesscmdclass="com.ibm.commerce.payment.actions.commands.EditPaymentInstructionPolicyCmdImpl" /> <policycmd policy_id="@policy_id_15" businesscmdclass="com.ibm.commerce.payment.actions.commands.QueryPaymentsInfoPolicyCmdImpl" /> <policycmd policy_id="@policy_id_15" businesscmdclass="com.ibm.commerce.payment.actions.commands.CheckPaymentAcceptPMCmdImpl" /> <policycmd policy_id="@policy_id_15" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoCancelPMCmdImpl" /> <policycmd policy_id="@policy_id_15" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoDepositPMCmdImpl" /> <policycmd policy_id="@policy_id_15" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoPaymentPMCmdImpl" /> <policycmd policy_id="@policy_id_15" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoRefundPMCmdImpl" />
<policycmd policy_id="@policy_id_16" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoPaymentActionsPolicyCmdImpl" /> <policycmd policy_id="@policy_id_16" businesscmdclass="com.ibm.commerce.payment.actions.commands.EditPaymentInstructionPolicyCmdImpl" /> <policycmd policy_id="@policy_id_16" businesscmdclass="com.ibm.commerce.payment.actions.commands.QueryPaymentsInfoPolicyCmdImpl" /> <policycmd policy_id="@policy_id_16" businesscmdclass="com.ibm.commerce.payment.actions.commands.CheckPaymentAcceptPMCmdImpl" /> <policycmd policy_id="@policy_id_16" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoCancelPMCmdImpl" /> <policycmd policy_id="@policy_id_16" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoDepositPMCmdImpl" /> <policycmd policy_id="@policy_id_16" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoPaymentPMCmdImpl" /> <policycmd policy_id="@policy_id_16" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoRefundPMCmdImpl" />
<policycmd policy_id="@policy_id_17" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoPaymentActionsPolicyCmdImpl" /> <policycmd policy_id="@policy_id_17" businesscmdclass="com.ibm.commerce.payment.actions.commands.EditPaymentInstructionPolicyCmdImpl" /> <policycmd policy_id="@policy_id_17" businesscmdclass="com.ibm.commerce.payment.actions.commands.QueryPaymentsInfoPolicyCmdImpl" /> <policycmd policy_id="@policy_id_17" businesscmdclass="com.ibm.commerce.payment.actions.commands.CheckPaymentAcceptPMCmdImpl" /> <policycmd policy_id="@policy_id_17" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoCancelPMCmdImpl" /> <policycmd policy_id="@policy_id_17" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoDepositPMCmdImpl" /> <policycmd policy_id="@policy_id_17" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoPaymentPMCmdImpl" /> <policycmd policy_id="@policy_id_17" businesscmdclass="com.ibm.commerce.payment.actions.commands.DoRefundPMCmdImpl" />
Related tasks