SimpleOfflinePlugin.xml
This file contains a list of the unique parameters required for each payment method supported by the plug-in.
- Lists unique parameters (plug-in properties) required for each supported payment method.
- Defines the required parameters for the payment methods supported in the different payment configurations, the length limitations of these parameters, and whether payments or credits should remain in a pending state when the payment transaction occurs successfully.
Other parameters can be added if necessary to support unique payment method requirements.
Example
<?xml version="1.0" encoding="UTF-8"?> <PaymentMethods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PaymentMethod.xsd"> <PaymentMethod name="VISA" paymentConfiguration="default" keepPendingStatus="true"> <Property name="account" minLength="1" maxLength="16" /> <Property name="cc_brand"/> <Property name="expire_month"/> <Property name="expire_year"/> </PaymentMethod> <PaymentMethod name="MASTERCARD" paymentConfiguration="default" keepPendingStatus="true"> <Property name="account"/> <Property name="cc_brand"/> <Property name="expire_month"/> <Property name="expire_year"/> </PaymentMethod> <PaymentMethod name="AMEX" paymentConfiguration="default" keepPendingStatus="true"> <Property name="account"/> <Property name="cc_brand"/> <Property name="expire_month"/> <Property name="expire_year"/> </PaymentMethod> <PaymentMethod name="COD" paymentConfiguration="default" keepPendingStatus="false"> <Property name="billto_address1"/> <Property name="billto_address2"/> <Property name="billto_address3"/> <Property name="billto_city"/> <Property name="billto_stateprovince"/> <Property name="billto_zipcode"/> <Property name="billto_country"/> </PaymentMethod> <PaymentMethod name="BillMeLater" paymentConfiguration="default" keepPendingStatus="false"> <Property name="billto_address1"/> <Property name="billto_address2"/> <Property name="billto_address3"/> <Property name="billto_city"/> <Property name="billto_stateprovince"/> <Property name="billto_zipcode"/> <Property name="billto_country"/> </PaymentMethod> <PaymentMethod name="PayLater" paymentConfiguration="default" keepPendingStatus="false"> <Property name="billto_address1"/> <Property name="billto_address2"/> <Property name="billto_address3"/> <Property name="billto_city"/> <Property name="billto_stateprovince"/> <Property name="billto_zipcode"/> <Property name="billto_country"/> </PaymentMethod> </PaymentMethods>
- Parameter
- paymentConfiguration
- The payment configuration ID in the POLICY database table that identifies a set of XML configuration files to be used for payment processing. A value of "default" means the payment method should use the default set of configuration files.
- keepPendingStatus
- true
- All transactions using this payment method will go to a pending state. To move the payment out of a pending state, an action must be taken by a Customer Service Representative in the WebSphere Commerce Accelerator to move the payment out of pending state. For example, perform a manual approval.
- false
- The payment transaction will not automatically go into a pending state. The state depends on the currently executed transaction, for example an Approval transaction the target state is Approved.
Related concepts
SimpleOffline plug-in
Related tasks
Configure the SimpleOffline plug-in