Sample: Payment method JSP snippets

For additional information about how to use a particular snippet, refer to the comments provided in the JSP file. The starter stores 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.

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

  • SolarisLinuxWindowsAIXWC_installdir/samples/Snippets/web/EDP/PaymentMethods
  • WebSphere Commerce DeveloperWCDE_installdir/samples/Snippets/web/EDP/PaymentMethods
JSP snippet Description
PaymentMethodsDisplay.jsp Displays, on the store's checkout page, a list of the available payment methods available for use in a drop-down list. The payment methods are derived from the POLICY database table.
StandardAmex.jsp Displays entry fields to collect information for the American Express payment method: card number, expiration month, and expiration year.
StandardBillMeLater.jsp Displays entry fields to collect information for the Bill Me Later payment method: PO number, first name, last name, street address, city, state/province, zip/postal code, country (region), and phone number.
StandardCheck.jsp Displays entry fields to collect information for the electronic check payment method: bank routing number, and bank account number.
StandardCOD.jsp Displays entry fields to collect information for the Cash on Delivery payment method: first name, last name, delivery address, city, state/province, zip/postal code, country (region), and phone.
StandardLOC.jsp Displays entry fields to collect information for the Line of Credit payment method: account number, PO number, order ID.
StandardMasterCard.jsp Displays entry fields to collect information for the Mastercard payment method: card number, expiration month, expiration year.
StandardVisa.jsp Displays entry fields to collect information for the VISA payment method: card number, expiration month, expiration year, card verification value (CVV2) number.