Collapsed merchant determination into one function. there was redundancy causing bugs previously.
Storing various parameters of the entire request response chain.