How can I design a non-repetitive random code that changes color when approved?
Do you mean something like random unique password ?
approved by whom ?
requires the configuration of the qr code option to establish an order of command when it is accepted change to a different color and likewise when it is denied it put another color