Packaging machine with transponder