we have 2 iPhone 12
srnt one back to Apple toe similar issue like you. Tried several charger and the one they worked the best so far had been ANKER charger
the brand new car (2021 volvo) is charger Ford not work either. The only way I found yo charge the phone every time is the plug in lighting port.
the ANKER works 90 % of the time without problem the other 10% I have yo move phone around on the charger till it finally connects d sac no charges
the problem appears to be with the iPhone
maybe the size and placement of the charger inside the phone and the magnets inside do not lock the charger to the phone in the proper place to charge correctly.
if Apple is going with wireless charging I hope the don’t get rid of the cable charging before they fix the problem.
otherwise after 12 years as an Apple iPhone user I will be leaving apple for another brand