Thank you for your post and welcome to our community forums. We're here to help.
I am so sorry to hear that this has happened. If you entered the code before its expiry and it accepted it upon submitting it then it should work without issue. Did a message appear saying it was accepted as valid?