Remove possible whitespace from configuration

Simple code to clean up configuration values to prevent issues such as a 404 error on transaction submission caused by trailing whitespace on the merchantId.