Try this before you pay for anything
A large share of "my iPhone won't charge" calls are solved with a different cable and a different wall adapter. Cables fail far more often than ports do. If a known-good cable in a known-good brick works, you saved yourself a repair — and we will tell you that rather than sell you one.
The second most common cause is compacted lint. Months of pocket time press debris into a solid plug at the bottom of the port, so the cable no longer seats fully. Do not dig at it with a paperclip or a pin; the contacts inside are thin and bend easily. Bring it in and we will clear it out properly.