PluginDeployment.xml
This example shows the contents of the XML file that constitutes the plug-in deployment descriptor for theWCPayments plug-in. This example also shows the inclusion of additional plug-in properties specific to theWCPayments plug-in.
- jndi
- The Java Naming and Directory Interface (JNDI) lookup name for the home of the plug-in's stateless session bean.
- home
- The fully qualified name of the home class for the plug-in's stateless session bean
- name
- The name of the plug-in implementation.
- version
- The version of the plug-in implementation.
- vendor
- The vendor providing the plug-in implementation.
- independentCredit
- Indication of whether the plug-in supports independent credits.
- virtualTerminal
- The URL of the payment back-end system administration user interface.
- PluginProperty
- Optional: The name of a property to be used with this plug-in and its value.
- ProtocolProperty
- Optional: The name of the keyword that should be retained in the database. Protocol properties
are specified inside a <ProtocolProperties> element (more than one can be specified). Include
the optional attribute keep="true" to retain the data for this keyword
in the database. For example:
<ProtocolProperties> <ProtocolProperty name="cc_brand" keep="true" /> </ProtocolProperties>
In this example, the brand of credit card used by the customer is kept in the database. If keep="false" is specified, no data is retained for that property. If no keep attribute is specified, the default is keep="true". When a retention is specified here, it takes priority over any global retention specified in the PaymentSystemPluginMapping XML file.