Compruebe si existe JSON OBJ
if(thisSession.hasOwnProperty('merchant_id')){
}
2 Programmers 1 Bug
if(thisSession.hasOwnProperty('merchant_id')){
}