WebSphere Commerce provides sample JavaServer Pages (JSP) 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 through the PayStatusPMDataBean.
- The PaySuccessView, PayCancelView, and PayFailureView command all specify a JSP file by this name. See customizing payment JavaServer Pages files for additional information.
- OrderOKView is for payments that use DoPayment, and this view command may be mapped to a different JavaServer Pages file if required.
PayService.jsp
- Used for the ServiceURL.
- The ServiceURL maps to this JSP file through the PayServiceView.
- You may want to specify your own version of this JavaServer Pages file to store specific information. See customizing payment JavaServer Pages files for additional information.
You can map the view commands to JSP files other than the sample ones documented.