PS4 account shared among other users

It depends on who was logged in at the time of purchase. If your son's account was logged in, the purchases are credited to his account, and use the wallet and credit card info on his account.

If his friends are signed in as themselves, then purchases are credited to their own account.