Ejegg has submitted this change and it was merged. Change subject: Default to Adyen in Israel ......................................................................
Default to Adyen in Israel Demoting the existing form name to adyen-test, adding a new adyen ffname with selection weight 110. Not going to bother exploding the forms per country like I did with AstroPay, 'cause hopefully soon the form chooser will query capabilities. Bug: T137731 Change-Id: I36014149b05c377335df91a4491ae2bd80efb351 --- M DonationInterfaceFormSettings.php 1 file changed, 11 insertions(+), 1 deletion(-) Approvals: Ejegg: Verified; Looks good to me, approved diff --git a/DonationInterfaceFormSettings.php b/DonationInterfaceFormSettings.php index d1e0db7..d47f99b 100644 --- a/DonationInterfaceFormSettings.php +++ b/DonationInterfaceFormSettings.php @@ -590,12 +590,22 @@ **********/ $forms_whitelist['adyen'] = array( 'gateway' => 'adyen', + 'countries' => array( '+' => array( 'IL', ), ), + 'currencies' => array( '+' => array( 'ILS', ), ), + 'payment_methods' => array( + 'cc' => array( 'visa', 'mc', 'amex', 'discover', ), + ), + 'selection_weight' => 110, +); + +$forms_whitelist['adyen-test'] = array( + 'gateway' => 'adyen', 'countries' => array( '+' => array( 'FR', 'IL', 'JP', 'UA', 'US', ), ), 'currencies' => array( '+' => array( 'EUR', 'ILS', 'JPY', 'UAH', 'USD', ), ), 'payment_methods' => array( 'cc' => array( 'visa', 'mc', 'amex', 'discover', 'cb', 'jcb', ), ), - // Setting form chooser weight to zero till we officially decide to use it + // Setting form chooser weight to zero so this form is not chosen as default 'selection_weight' => 0, ); -- To view, visit https://gerrit.wikimedia.org/r/294193 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I36014149b05c377335df91a4491ae2bd80efb351 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/DonationInterface Gerrit-Branch: deployment Gerrit-Owner: Ejegg <eeggles...@wikimedia.org> Gerrit-Reviewer: Ejegg <eeggles...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits