I'm not sure if my galaxy S8plus has the problem or the cable or the pc or the car.
My car does not recognize my phone while cable is connected.
Then after a few days, my pc does not recognize my phone.
Then just yesterday my phone does not want to charge with the original cable.
I've used 2 original cables already.
As @Tallman rightly pointed out, it seems USB-C port has malfunctioned and your phone need to be repaired. You can let us know if you need help with (in finding) Samsung authorized service center.
Please find the below Samsung authorized service centers details.
1. Mobile Klinik - Dundas
Address: 10 Dundas Street East, M5B 2G9
Operating Hours Mon- Fri : 8:30AM to 8:30 PM ; SAT : 10:00 AM to 6:00 PM ; SUN CLOSED
Phone Number- 416-350-3777
Email Address: firstname.lastname@example.org
Cables are the cheapest fix - I would try a new one first as is the most likely to be the problem but port is also possible problem but get a price first and decide weather it is worth putting that kind of money in a S8 or just buy new phone