Develop > Controller layer > Integrate with back-end systems and external applications > Customize WebSphere Commerce Payments
Sample: WebSphere Commerce Payments JSP pages
WebSphere Commerce provides sample JSPs files to display order information using WebSphere Commerce Payments.
- PayStatusPM.jsp
- Display different text depending on the status of the payment.
- Obtains the order or payment status by the PayStatusPMDataBean.
- The PaySuccessView, PayCancelView, and PayFailureView command all specify a JSP file by this name. See Customizable payment JSP files for additional information.
- OrderOKView is for payments that use DoPayment, and this view may be mapped to a different JavaServer Pages file if required.
- PayService.jsp
- Used for the ServiceURL.
- The ServiceURL maps to this JSP file by the PayServiceView.
- You may want to specify the own version of this JavaServer Pages file to store specific information. See Customizable payment JSP files for additional information.
You can map the views to JSP files other than the sample ones documented.
- Customizable payment JSP files
You can customize the sample JSP files that are provided for payment processing to suit different cassettes.
- Error codes for PayResetErrorView
The following table shows the applicable error codes for PayResetErrorView when WebSphere Commerce Payments is used:
Related concepts
Related reference
Customizable payment JSP files