You could try to put your friend in as the 2nd guest in your online reservation. Then, reserve the room with your credit card, but have your friend pay for the room on his card.
It worked with my wife at the Santa Clara Marriott, when she checked in before I did, and she put the charges on her card. I came in at a later time and never saw the front desk during my stay.