The picture and name of the guest isn't printing on the badge when we scan a passport or when we use a repeat visitor.

Most likely, you have different fields defined on the badge template than you intended.
 
There are now three photo types:
 
Visitor: Captured Photo -> The photo behind this object is the existing visitor photo captured via webcam
Visitor: Scanned ID Photo -> The photo behind this object is the existing visitor photo extracted via ID scan
Visitor: Scanned Passport Photo -> The photo behind this object is the existing visitor photo extracted via Passport scan
 
You  may have the Visitor Captured Photo on the badge template; this will only print a photo on this badge if you previously took a picture of that visitor via webcam. If no webcam photo is available, the photo placeholder is blank even if a Passport or ID picture exists.
 
You need to review your badge templates to ensure that each badge template photo object is the desired photo to print on the badge.