jenkins-bot has submitted this change and it was merged.

Change subject: Fix ran_hooks check
......................................................................


Fix ran_hooks check

Change-Id: I2665fc22dfd4e3983e161de7719c2dd2fca52264
---
M globalcollect_gateway/globalcollect.adapter.php
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Awight: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/globalcollect_gateway/globalcollect.adapter.php 
b/globalcollect_gateway/globalcollect.adapter.php
index 53a4807..65cd188 100644
--- a/globalcollect_gateway/globalcollect.adapter.php
+++ b/globalcollect_gateway/globalcollect.adapter.php
@@ -1198,6 +1198,10 @@
                for ( $loops = 0; $loops < $loopcount && !$cancelflag && 
!$problemflag; ++$loops ){
                        $gotCVV = false;
                        $status_result = $this->do_transaction( 
'GET_ORDERSTATUS' );
+                       if ( !$is_orphan ) {
+                               // live users get antifraud hooks run in this 
txn's pre-process
+                               $ran_hooks = true;
+                       }
                        $xmlResults = array(
                                'cvv_result' => '',
                                'avs_result' => ''

-- 
To view, visit https://gerrit.wikimedia.org/r/197723
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2665fc22dfd4e3983e161de7719c2dd2fca52264
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Ejegg <[email protected]>
Gerrit-Reviewer: Awight <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to