Just to add to what @ian_roberts says, you may find this article useful:
Processing split payments to different customers