CRM-15714 CiviContribute convert validateCreditCard to validatePaymentInstrument
authoradixon <alan.g.dixon@gmail.com>
Mon, 2 Feb 2015 21:11:39 +0000 (16:11 -0500)
committeradixon <alan.g.dixon@gmail.com>
Mon, 2 Feb 2015 21:11:39 +0000 (16:11 -0500)
commita479fe60be0c16f79b256ef190fa8fa744dda026
treef6903deff0c0cbe42843e9138e84305b69769e9b
parent6ce4af3b24412a26d866718fc4030ed74e66d1ac
CRM-15714 CiviContribute convert validateCreditCard to validatePaymentInstrument
The validateCreditCard function is too restrictive for both SWIPE and DirectDebit payment processors. Convert those
calls to a new validatePaymentInstrument that only invokes validateCreditCard for credit card payment processors,
and also allows SWIPE processors to override it.
CRM/Contribute/Form/Contribution/Main.php
CRM/Contribute/Form/UpdateBilling.php
CRM/Core/Payment.php
CRM/Core/Payment/Form.php
CRM/Event/Cart/Form/Checkout/Payment.php
CRM/Event/Form/Participant.php
CRM/Event/Form/Registration/AdditionalParticipant.php
CRM/Event/Form/Registration/Register.php
CRM/Member/Form/Membership.php