Can't redeem code (the code has been consumed)

So, during this last period of disfunctionality of PSN, I have bought 3 codes of 20 $ from Amazon. When I was trying to redeem it, my first code went through just fine but the other two simply could not (The code has expired or it is not valid, that was the message). Later, I tried again and my second code went through, but again, the third one simply could not. There was the same error. Then I have read about these problems so I decided to wait for the other day. So, the other day I tried to use the code but now it said it was consumed although there is no 60 $ in my wallet, just 40 $.