JSP code snippet: SecureThreeDCTFError.jsp

This JSP code snippet is used to send null content back to the Visa Certificate Test Facility (CTF). (This file will only be used when doing CTF test with Visa.)

Usage

  1. This snippet is available in the following directory:
    • WC_installdir/samples/Snippets/web/Order/Secure3d/SecureThreeDCTFError.jsp
    • WebSphere Commerce Developer WCDE_installdir\samples\Snippets\web\Order\Secure3d\SecureThreeDCTFError.jsp
  2. Copy it to the Snippets/Order/Secure3d/ directory under your store directory.
  3. To display this feature in your store, you need to either:
    • Create a JSP file based on this code snippet
    • Use the sample wrapper JSP file named SecureThreeDCTFError.jsp and customize it as described in the comments. The sample wrapper JSP is available under samples/JSPs/web/Order/Secure3d/ directory.
  4. To include this snippet in your wrapper JSP file, use the following statement:
    
    <c:import url="Snippets/Order/Secure3d/SecureThreeDCTFError.jsp"
    /> 
    

    The path in this statement is the relative path of the snippet file to the store directory.

Testing

  1. Copy the sample wrapper JSP file to your store directory, from

    samples/JSPs/web/Order/Secure3d/

    to

    WC_eardir/Stores.war/ storedir/

  2. Copy the appropriate snippet file from

    samples/Snippets/web/Order/Secure3d/

    to

    WC_eardir/Stores.war/ storedir/Snippets/Order/Secure3d/

  3. Copy the required properties files from

    samples/Snippets/properties/Order/Secure3d/

    to

    WC_eardir/Stores.war/WEB-INF/classes/ storedir/Snippets/Order/Secure3d/