Authorize.net Integration: Error checking in credit card field is not working properly