IF and OR statement for my RFID lock

Hello i would really appreciate help with some code for my arduino based lock i have built,
Through tests i am pretty sure there is no hardware problem.
The door has 2 inputs of the buttton on the inside and the scanner on the outside however the button is unresponsive

It seems the problem is in this chunk of code:
int buttonValue = digitalRead(buttonPin);
if ((buttonValue == LOW) || (content.substring(1) == "A9 ED 73 9C") || // UID of the card/cards to give access
(content.substring(1) == "9A EB F6 3F"))

Thanks a lot, :slight_smile:

What happened when you printed the value of buttonValue?

Please remember to use code tags when posting all of your code.