How do I make credit card info conditional?