Skip to content

fix payments held by fraud detection suite then approved

JonGold requested to merge JonGold/authnet:pending-fraud into master

Payments that are held for fraud by the Fraud Detection Suite show as Pending in Civi. Approving the payments in should cause the payment to become "Completed" in Civi but it doesn't.

Just below my patch, $this->updateContributionCompleted($params); is called, which calls Mjwpayment.create_payment. Which specifies that total_amount is a required param, but we're not setting it here. By including the total amount, approved payments are updated to Completed.

Merge request reports