amt: \"10.00\" email: \"sam@gmail.com\" merchant_id: \"sam\" mobileNo: \"9874563210\" orderID: \"123456\" passkey: \"1234\"
The above is the JSON o
Try this,
if(thisSession.hasOwnProperty('merchant_id')){ }
the JS Object thisSession should be like
thisSession
{ amt: "10.00", email: "sam@gmail.com", merchant_id: "sam", mobileNo: "9874563210", orderID: "123456", passkey: "1234" }
you can find the details here