Skip to content

Commit

Permalink
Merge pull request #17648 from seamuslee001/manual_processor_set_paym…
Browse files Browse the repository at this point in the history
…entProceesor

[REF] Ensure that the Manual Payment Processor sets the _paymentProc…
  • Loading branch information
eileenmcnaughton authored Jun 18, 2020
2 parents e0c38aa + d737af0 commit 19abd7e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CRM/Core/Payment/Manual.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@ class CRM_Core_Payment_Manual extends CRM_Core_Payment {
*/
public function checkConfig() {}

/**
* Constructor.
*/
public function __construct() {
$this->_paymentProcessor = [
'payment_type' => 0,
'billing_mode' => 0,
'id' => 0,
'url_recur' => '',
'is_recur' => 0,
];
}

/**
* Get billing fields required for this processor.
*
Expand Down

0 comments on commit 19abd7e

Please sign in to comment.