<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
if (!empty($values['payment_processor_id'])) {
// make sure that credit card number and cvv are valid
- CRM_Core_Payment_Form::validatePaymentInstrument($values, $errorMsg, $self);
+ CRM_Core_Payment_Form::validateCreditCard($values, $errorMsg);
}
if (!empty($values['record_contribution'])) {