Cannot read properties of undefined (reading 'merchant_name')