From 24f2522763e5461b23fe11ea2adbf6b770c0e3c0 Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Wed, 1 May 2019 11:33:37 -0400 Subject: [PATCH] Event Cart: add support for the Credit Card type icons --- CRM/Event/Cart/Form/Checkout/Payment.php | 4 ++++ 1 file changed, 4 insertions(+) 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']); } /** -- 2.25.1