Some folks pay a compliment like they expected a receipt.
Frank McKinney "Kin" Hubbard (1868-1930) American caricaturist and humorist
“Abe Martin” comic, San Francisco Call (1912-02-07)
(Source)
Through his Abe Martin character, Hubbard used this phrase in a variety of forms, popularizing (though not originating) it. More discussion about this: “Some people pay a compliment as if they expected a receipt” - The Big Apple - Barry Popik.