Scams & fraud
You were right to be suspicious — that was probably a scam. Scammers stick fake QR code stickers over the real ones on parking meters. You scan it thinking you are paying for parking, but you land on their fake website, type in your card number, and they steal it. The fake sites even misspell the real company's name by one letter.
From now on: do not scan the code on the meter at all. Pay at the meter with your card if it takes one, or use the parking app the city tells you to use — the one you download yourself from the App Store, not from a QR code. ParkMobile and PayByPhone are real apps, but only download them from the official app store.
If you already paid on that website, call your bank or card company right away, tell them what happened, and ask them to watch for weird charges.