bug causing qr code to change once invoice was paid