Yes, you can pay for an online booking with your credit card where you as the cardholder is not part of the travelling party.