, Thank you question and welcome. Legally under the Sale of Goods Act 1979, you are entitled to attempt to repair the item and insist the purchase remains. However if this company wants credit presumably they want to continue trading with you?
As a remedy do you want them to take the item and risk a dispute with them or credit them item and continue future trading? Have they indicated that they will buy from you again?