Thursday, June 16, 2011

Changing Merchant Key Value in WCS

There will be lot of occasions come during your life with WCS where you want to change the merchant key. The possbile reasons are
  • Because of security reasons the organization decide to change the merchant key on a regular interval
  • While doing enhancement to the production site. You will be in a position to migrate the data from existing production server to the new production server. For smoother data migration the requirement is that both the servers should be having same merchant key

The steps for doing the merchant key change are given below

  • Run the following command where demo is the instance name and "1234567890abcdef" is the current merchant key
    MigrateEncryptedInfo db2 demo 4 5000 1234567890abcdef abcdef1234567890
  • Run the command to update the server with the data "config_ant.bat -DinstanceName= demo UpdateEAR"
  • Restart the server

Now check the merchant key via mentioning the steps mentioned in the article Retrieving Merchant Key From Websphere Commerce. You will see the new merchant key

No comments:

Post a Comment