Go back to the retailer and ask for your money back. If they’ve attempted a repair and it hasn’t worked, you’re entitled to ask for a refund.
It was bought online from the apple store, not making that mistake again
At this point do. Go back, insist on a refund in writing laying out that they’ve tried and failed to repair etc. Your claim through your bank is a one shot chance and you are supposed to show you’ve done your leg work as part of the process, it’s a method of last resort and intended to be used as such. They should refuse your claim if you’ve not already given the supplier chance to make good and, so far, you’ve not strictly done that.
They might honour it but you will be SOoL if the bank says “nope, you didn’t follow procedures”