Skip to content

Commit

Permalink
Merge pull request #12720 from selwyntcy/patch-1
Browse files Browse the repository at this point in the history
(NFC) Fix incorrect reference of doTransferCheckout() in comments
  • Loading branch information
monishdeb authored Aug 24, 2018
2 parents 5089971 + 81355da commit 8419825
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CRM/Contribute/Form/Contribution/Confirm.php
Original file line number Diff line number Diff line change
Expand Up @@ -1842,7 +1842,7 @@ protected function getIsPending() {
*
* Ie the membership block supports a separate transactions AND the contribution form has been configured for a
* contribution
* transaction AND a membership transaction AND the payment processor supports double financial transactions (ie. NOT doTransferPayment style)
* transaction AND a membership transaction AND the payment processor supports double financial transactions (ie. NOT doTransferCheckout style)
*
* @param int $formID
* @param bool $amountBlockActiveOnForm
Expand Down
2 changes: 1 addition & 1 deletion CRM/Core/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ protected function doDirectPayment(&$params) {
}

/**
* Process payment - this function wraps around both doTransferPayment and doDirectPayment.
* Process payment - this function wraps around both doTransferCheckout and doDirectPayment.
*
* The function ensures an exception is thrown & moves some of this logic out of the form layer and makes the forms
* more agnostic.
Expand Down
2 changes: 1 addition & 1 deletion CRM/Core/Payment/PayPalImpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ public function initialize(&$args, $method) {
}

/**
* Process payment - this function wraps around both doTransferPayment and doDirectPayment.
* Process payment - this function wraps around both doTransferCheckout and doDirectPayment.
*
* The function ensures an exception is thrown & moves some of this logic out of the form layer and makes the forms
* more agnostic.
Expand Down

0 comments on commit 8419825

Please sign in to comment.