Adds null check to make sure only authorized cards are accepted
Fixes issue where could not properly 'get' cardid