From: Mathieu Lutfy Date: Wed, 1 May 2019 15:33:37 +0000 (-0400) Subject: Event Cart: add support for the Credit Card type icons X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=24f2522763e5461b23fe11ea2adbf6b770c0e3c0;p=civicrm-core.git Event Cart: add support for the Credit Card type icons --- diff --git a/CRM/Event/Cart/Form/Checkout/Payment.php b/CRM/Event/Cart/Form/Checkout/Payment.php index d6906fd94c..0f4f244818 100644 --- a/CRM/Event/Cart/Form/Checkout/Payment.php +++ b/CRM/Event/Cart/Form/Checkout/Payment.php @@ -175,6 +175,10 @@ class CRM_Event_Cart_Form_Checkout_Payment extends CRM_Event_Cart_Form_Cart { ); $this->assign('pay_later_instructions', $this->pay_later_receipt); } + + // Event Cart does not support multiple payment processors + // so we cannot call $this->preProcessPaymentOptions(); + CRM_Financial_Form_Payment::addCreditCardJs($this->_paymentProcessor['id']); } /**