Sample: Payment Rules JSP snippets

JSP snippet files related to Payment Rules are provided in the following directories:

For additional information about how to use a particular snippet, refer to the comments provided in the JSP file. The starter stores provided in WebSphere Commerce already have many of these JSP files incorporated. If you are creating your own store, you should incorporate the PaymentMethodsDisplay and the appropriate Standardxxx.JSP snippet for use by your store.

PaymentMethodsDisplay.jsp

To use this JSP snippet, copy the PaymentMethodsDisplay.jsp file from the samples directory to the store directory. For example, to: WC_eardir/Stores.war/store/Snippets/EDP/PaymentMethods

Update the JSP file your store is using as the checkout page to either include the snippet or import the snippet. Some WebSphere Commerce starter stores use the OrderSubmitForm.jsp file, but other starter stores might use a JSP file with a different name to perform checkout. If you choose to import the snippet rather than copy it in entirely into your JSP file, refer to the JSP comments for the appropriate syntax to use with the import statement.