If the customer said the product does not work, who is liable for transportation back to me?

Ask the buyer to send proof that the product does not work. Then, contact the supplier, and send them the proof you received from the buyer.