Skip to content

Commit

Permalink
Update code comments
Browse files Browse the repository at this point in the history
Making these a little less paypal specific
  • Loading branch information
eileenmcnaughton committed Sep 14, 2020
1 parent 0fd3d95 commit 415e732
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions CRM/Contribute/Form/ContributionBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,18 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
public $_action;

/**
* Contribution mode e.g express for payment express, notify for off-site + notification back to CiviCRM
* 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;

Expand All @@ -179,8 +189,10 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
public $_emailExists = FALSE;

/**
* Is this a backoffice form
* (this will affect whether paypal express code is displayed)
* Is this a backoffice form.
*
* Processors may display different options to backoffice users.
*
* @var bool
*/
public $isBackOffice = FALSE;
Expand Down

0 comments on commit 415e732

Please sign in to comment.