JSP code snippet: SecureThreeDError.jsp
This JSP code snippet displays detailed error information for errors occurring during 3-D Secure service.
Usage
- This snippet is available in the following directory:
- WC_installdir/samples/Snippets/web/Order/Secure3d/SecureThreeDError.jsp
- WCDE_installdir\samples\Snippets\web\Order\Secure3d\SecureThreeDError.jsp
- Copy it to the Snippets/Order/Secure3d/ directory under your store directory.
- To display this feature in your store,
you need to either:
- Create a JSP file based on this code snippet or
- Use the sample wrapper JSP file named SecureThreeDError.jsp and customize it as described in the comments.
- To include this
snippet in your wrapper JSP file, use the following statement:
<c:import url="Snippets/Order/Secure3d/SecureThreeDError.jsp" />
The path in this statement is the relative path of the snippet file to the store directory.
Testing
- Copy the sample wrapper JSP file to your store directory, from
samples/JSPs/web/Order/Secure3d/
to
WC_eardir/Stores.war/ storedir/
- Copy the appropriate snippet file from
samples/Snippets/web/Order/Secure3d/
to
WC_eardir/Stores.war/ storedir/Snippets/Order/Secure3d/
- Copy the required properties files from
samples/Snippets/properties/Order/Secure3d/
to
WC_eardir/Stores.war/WEB-INF/classes/ store_dir/Snippets/Order/Secure3d/