Mwalker has uploaded a new change for review.
https://gerrit.wikimedia.org/r/86753
Change subject: Adyen has special orderid needs
......................................................................
Adyen has special orderid needs
Change-Id: Ibcdfedf17aecbd433ed57c015920cee5990e9127
---
M gateway_common/DonationData.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface
refs/changes/53/86753/1
diff --git a/gateway_common/DonationData.php b/gateway_common/DonationData.php
index 53a6441..853602d 100644
--- a/gateway_common/DonationData.php
+++ b/gateway_common/DonationData.php
@@ -693,7 +693,7 @@
// TODO: Move this somewhere more sane! We shouldn't be
doing anything with requests
// in normalization functions.
$id = $_GET['order_id'];
- } elseif ( $this->boss == 'AdyenAdapter' && array_key_exists(
'merchantReference', $_GET ) ) {
+ } elseif ( $this->getAdapterClass() == 'AdyenAdapter' &&
array_key_exists( 'merchantReference', $_GET ) ) {
$id = $_GET['merchantReference'];
} elseif ( ( $this->isSomething( 'order_id' ) ) && (
$idGenThisRequest == true ) ){
// An order ID already exists, therefore we do nothing
--
To view, visit https://gerrit.wikimedia.org/r/86753
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibcdfedf17aecbd433ed57c015920cee5990e9127
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Mwalker <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits