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:

  1. 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.
  2. 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&amp;paymentConfigurationId=default&amp;display=true&amp;compatibleMode=false" /> <policy policy_id="@policy_id_12" policyname="Master Card" policytype_id="Payment" storeent_id="@storeent_id_1" properties="attrPageName=StandardMasterCard&amp;paymentConfigurationId=default&amp;display=true&amp;compatibleMode=false" /> <policy policy_id="@policy_id_13" policyname="Check" policytype_id="Payment" storeent_id="@storeent_id_1" properties="attrPageName=StandardCheck&amp;paymentConfigurationId=default&amp;display=true&amp;compatibleMode=false" /> <policy policy_id="@policy_id_14" policyname="AMEX" policytype_id="Payment" storeent_id="@storeent_id_1" properties="attrPageName=StandardAmex&amp;paymentConfigurationId=default&amp;display=true&amp;compatibleMode=false" /> <policy policy_id="@policy_id_15" policyname="BillMeLater" policytype_id="Payment" storeent_id="@storeent_id_1" properties="attrPageName=StandardBillMeLater&amp;paymentConfigurationId=default&amp;display=true&amp;compatibleMode=false" /> <policy policy_id="@policy_id_16" policyname="COD" policytype_id="Payment" storeent_id="@storeent_id_1" properties="attrPageName=StandardCOD&amp;paymentConfigurationId=default&amp;display=true&amp;compatibleMode=false" /> <policy policy_id="@policy_id_17" policyname="PayLater" policytype_id="Payment" storeent_id="@storeent_id_1" properties="attrPageName=StandardPayLater&amp;paymentConfigurationId=default&amp;display=true&amp;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