I had a friend pay you for 〇〇, so the buyer and the person who paid you have different names.
My friend paid you instead of me, so the buyer and payer are not the same.
この場合、次のように言えます。
ーI had a friend pay you for 〇〇, so the buyer and the person who paid you have different names.
「〇〇の代金を友達が払ったので、購入者と支払者の名前が異なります」
〇〇に商品名を入れてください。
ーMy friend paid you instead of me, so the buyer and payer are not the same.
「私の代わりに友達が払ったので、購入者と支払人が同じではありません」
buyer で「購入者」
payer で「支払人」
ご参考まで!