23
Retrieving Merchant Key value from WebSphere Commerce Server
Posted by | Posted in WebSphere Commerce | Posted on 23-08-2010
Tagged Under : WCS, WebSphere, WebSphere Commerce, WebSphere Commerce Server
Retrieving Merchant Key value from WebSphere Commerce Server
Merchant Key
The merchant key is the encryption key used in WebSphere Commerce Server. Merchant key is a 16 digit hexadecimal number that has at least one numeric character, at least one alphabetic character (a-f) with no upper case letter. The merchant key cannot contain the same character more than four times and four consecutive occurrence of the same character is not allowed. The merchant key will be present in WebSphere commerce instance xml file in encrypted format. To get the plain text version of the merchant key, place the following text in any WCS view and run it on the server.
<%
System.out.println("Merchant Key :"+com.ibm.commerce.server.ConfigProperties.singleton().getMerchantKey());
%> |





