*/
public $_pledgeValues;
- public $_contributeMode = 'direct';
-
public $_context;
public $_compId;
* This form records additional payments needed when event/contribution is partially paid.
*/
class CRM_Contribute_Form_AdditionalPayment extends CRM_Contribute_Form_AbstractEditPayment {
- public $_contributeMode = 'direct';
/**
* Id of the component entity
*/
public $_pledgeValues;
- public $_contributeMode = 'direct';
-
public $_context;
/**
// It can be blank with a $0 transaction - then no processor needs to be selected
$form->_paymentProcessor = $form->_paymentProcessors[$form->_params['payment_processor_id']];
}
- if (!empty($params['payment_processor_id'])) {
- // The concept of contributeMode is deprecated as is the billing_mode concept.
- if ($form->_paymentProcessor['billing_mode'] == 1) {
- $form->_contributeMode = 'direct';
- }
- else {
- $form->_contributeMode = 'notify';
- }
- }
if (!empty($params['useForMember'])) {
$form->set('useForMember', 1);
public $_action;
- /**
- * Contribution mode.
- *
- * In general we are trying to deprecate this parameter but some templates and processors still
- * require it to denote whether the processor redirects offsite (notify) or not.
- *
- * The intent is that this knowledge should not be required and all contributions should
- * be created in a pending state and updated based on the payment result without needing to be
- * aware of the processor workings.
- *
- * @var string
- *
- * @deprecated
- */
- public $_contributeMode;
-
/**
* Contribution page supports memberships
* @var bool
// on every form, rather than being passed from form to form.
$this->set('amount_block_is_active', $this->isFormSupportsNonMembershipContributions());
- $this->_contributeMode = $this->get('contributeMode');
-
//assigning is_monetary and is_email_receipt to template
$this->assign('is_monetary', $this->_values['is_monetary']);
$this->assign('is_email_receipt', $this->_values['is_email_receipt']);
*
* @var array
*/
- public $_lineItem = NULL;
-
- /**
- * Contribution mode for event registration for offline mode.
- *
- * @var string
- * @deprecated
- */
- public $_contributeMode = 'direct';
+ public $_lineItem;
public $_online;
);
CRM_Utils_System::redirect($url);
}
- // The concept of contributeMode is deprecated.
- $this->_contributeMode = $this->get('contributeMode');
$this->assign('paidEvent', $this->getEventValue('is_monetary'));
// we do not want to display recently viewed items on Registration pages
*/
public $_mode;
- public $_contributeMode = 'direct';
-
protected $_memTypeSelected;
/**