Try reading code from database
Read Registration before redeeming code
Inform of a code not found
Redeem the code and attach to registration
Inform of redeeming success