This sentence is terrible and incorrect. I'd can be "I had" or "I would". It should say ...how much I had paid for them... or how much I had to pay for them. I'd had doesn't make sense.
For your second question, again, really bad grammar but it looks like it means how much you had to pay for the clothes but the way it was written could mean either.
English is tough, especially with people in movies, music and social normalising bad grammar.