Commit e27c7746 authored by mattwire's avatar mattwire Committed by mattwire
Browse files

Total Amout is always required when completing contribution

parent d8c19096
......@@ -397,7 +397,7 @@ trait CRM_Core_Payment_MJWIPNTrait {
* @throws \Civi\Payment\Exception\PaymentProcessorException
*/
private function updateContributionCompleted($params) {
$this->checkRequiredParams('updateContributionCompleted', ['contribution_id', 'trxn_date', 'order_reference', 'trxn_id'], $params);
$this->checkRequiredParams('updateContributionCompleted', ['contribution_id', 'trxn_date', 'order_reference', 'trxn_id', 'total_amount'], $params);
$paymentParamsKeys = [
'contribution_id' => 'contribution_id',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment