Reseting pc keeps doesn't delete card information

I just reset my old laptop to give to my partner using recovery - > reset this pc - > remove everything. During setup, after signing in using her account the laptop still had my card info.

Windows asked about signing up for microsoft 365 during setup and showed my name and card info stored ready for use. It showed them again after set up in Microsoft store.

I have bought things from the store, but I don't think I have ever done it with this laptop, and I know for sure I have never given microsoft permission to store my card info anywhere.

Has anyone else experienced this before? Did I somehow do something wrong when reseting it? It did mention that it would remove all personal information so I would assume it should remove my card information as well?