Detect credit card functionality