Mwalker has submitted this change and it was merged.

Change subject: Adding logic for no code returning from the CVV and AVS checks 
in GlobalCollect.
......................................................................


Adding logic for no code returning from the CVV and AVS checks in GlobalCollect.

Change-Id: I6452420e4372647ed20ef611158588980626e0a5
---
M DonationInterface.php
1 file changed, 2 insertions(+), 0 deletions(-)

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



diff --git a/DonationInterface.php b/DonationInterface.php
index f37d3d9..c995fc3 100644
--- a/DonationInterface.php
+++ b/DonationInterface.php
@@ -356,6 +356,7 @@
                'U' => true, //? //Issuer not certified for CVV2.
                'Y' => false, //Server provider did not respond.
                '0' => true, //No service available.
+               '' => false, //No code returned. All the points.
        );
        
        $wgGlobalCollectGatewayAvsMap = array(
@@ -378,6 +379,7 @@
                'Y' => 0, //Address (Street) and 5 digit Zip match.
                'Z' => 50, //5 digit Zip matches, Address (Street) does not.
                '0' => 25, //No service available.
+               '' => 100, //No code returned. All the points.
        );      
        
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6452420e4372647ed20ef611158588980626e0a5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Katie Horn <[email protected]>
Gerrit-Reviewer: Mwalker <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to