Updated Buy Card Controller to ensure the command requirements are met before performing