Battery, screen, rear cover and wireless-charging assembly have distinct guides; charging behavior can involve more than the USB-C port.
What to check before buying
Charging hardware
iFixit lists a wireless-charging assembly replacement apart from the battery and screen. A wireless-only charging fault points to different hardware from a wired-port problem.
Screen and cameras
Guides cover the display and rear cameras for the smaller Pro. The Pro XL has different dimensions and should be matched separately.