Awight has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/197950

Change subject: Hardcode PayPal gateway to always redirect, if possible
......................................................................

Hardcode PayPal gateway to always redirect, if possible

Bug: T92705
Change-Id: I9336fcb4fb5e8a8394972eb9770b0e1dfeef35f8
---
M paypal_gateway/paypal_gateway.body.php
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface 
refs/changes/50/197950/1

diff --git a/paypal_gateway/paypal_gateway.body.php 
b/paypal_gateway/paypal_gateway.body.php
index 5354c57..d0d2876 100644
--- a/paypal_gateway/paypal_gateway.body.php
+++ b/paypal_gateway/paypal_gateway.body.php
@@ -41,4 +41,13 @@
 
                $this->handleDonationRequest();
        }
+
+       /**
+        * Always attempt to pass through transparently.
+        *
+        * @see GatewayPage::isProcessImmediate()
+        */
+       protected function isProcessImmediate() {
+               return true;
+       }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9336fcb4fb5e8a8394972eb9770b0e1dfeef35f8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Awight <[email protected]>

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

Reply via email to