$priceSetID = $this->getPriceSetID();
if (!empty($this->_ccid)) {
+ // @todo - verify that this is the same as `$this->>getLineItems()` which it should be & consolidate
$this->set('lineItem', [$this->getPriceSetID() => $this->getExistingContributionLineItems()]);
}
elseif ($priceSetID) {
$params['amount'] = $proceFieldAmount;
}
}
- $this->set('lineItem', $lineItem);
+ $this->set('lineItem', [$this->getPriceSetID() => $this->getLineItems()]);
}
if ($params['amount'] != 0 && (($this->_values['is_pay_later'] &&