I woke up with a stiff neck, 'compliments of' that uncomfortable mattress in their guest room. [=sleeping on the uncomfortable mattress gave me a stiff neck]
When customers recommend our company to friends and family members, we consider that to be the highest/best 'compliment' we can get.
He told her he admired her paintings and she returned/repaid the 'compliment' by saying that she was a fan of his sculptures.