Doesn't matter who has paid for the flight, you can still get the miles, register for a membership and take the card along to check-in, they will credit you there