Let's define terms-
Your profile says that you are a home seller
I am assuming your acquaintance is the listing agent - she is representing you in the sale of your home.
What an agent does with their earnings from sale is up to them. In California the only people that can be "paid a commission" are DRE licensees. However, if the agents opts to give you a credit in escrow to help pay closing costs, or for whatever reasons, she is entitled to do as she wishes.