The cardholder and the passenger do not have to be the same person. When buying your ticket, you can safely make purchases with all credit or debit cards (salary-debit).
Due to transaction security, the company may ask you to provide the purchased credit card information if necessary.