The goal progress bar should credit any purchase to the project as long as it happens while the goal is active.