Fixed md5 keys and payment calculations