How do I know which transaction belongs to which customer?

For security reasons, the name of the cardholder your customer uses is not stored. If you want to keep track of which payments belong to which customer, you can tag each transaction when you enter the amount to be paid.