Commit 585374c9 authored by mattwire's avatar mattwire

Check if repeatContribution succeeds. Update release notes

parent f025527f
......@@ -19,7 +19,7 @@ class CRM_AuthorizeNet_Check {
/**
* @var string
*/
const MIN_VERSION_MJWSHARED = '0.9.4';
const MIN_VERSION_MJWSHARED = '0.9.9';
public static function checkRequirements(&$messages) {
self::checkExtensionMjwshared($messages);
......
......@@ -141,7 +141,9 @@ class CRM_Core_Payment_AuthNetIPN {
'contribution_status_id' => CRM_Core_PseudoConstant::getKey('CRM_Contribute_BAO_Contribution', 'contribution_status_id', 'Completed'),
'total_amount' => $this->getParamFromResponse($response, 'total_amount'),
];
$this->repeatContribution($params);
if (!$this->repeatContribution($params)) {
return FALSE;
}
}
break;
......
......@@ -9,10 +9,13 @@ Releases use the following numbering system:
* **[BC]**: Items marked with [BC] indicate a breaking change that will require updates to your code if you are using that code in your extension.
## Release 2.2.2 (not yet released 2020-10-15)
## Release 2.2.2 (not yet released 2020-11-17)
**Requires mjwshared (Payment Shared) 0.9.9**
* Fix [!10](https://lab.civicrm.org/extensions/authnet/-/merge_requests/10) - Only create webhooks on production. Implement the same workflow used by Stripe to provide a system
check and a button/form to update the webhooks instead of doing it automatically every time.
* Check which processor should be handling IPN notifications when both CreditCard and eCheck payment processors are configured in CiviCRM.
This should resolve issues with "Contribution already completed" being recorded in the CiviCRM logs.
## Release 2.2.1
......
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