Mwalker has uploaded a new change for review.

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


Change subject: Adyen is a CC type
......................................................................

Adyen is a CC type

Let's all be nice and consistent shall we?

Change-Id: I0d0f25c45a1fca88b8202df17a2b0c16df978755
---
M DonationInterfaceFormSettings.php
1 file changed, 13 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/76/73376/1

diff --git a/DonationInterfaceFormSettings.php 
b/DonationInterfaceFormSettings.php
index 4a66263..6f0624f 100644
--- a/DonationInterfaceFormSettings.php
+++ b/DonationInterfaceFormSettings.php
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * Some setup vars to make our lives a little easier.
  * These are unset at the end of the file.
@@ -26,19 +27,6 @@
        'payment_methods' => array('amazon' => 'ALL'),
        'redirect',
 );
-
-/**********
- * Adyen *
- **********/
-if ( $wgDonationInterfaceEnableAdyen === true ) {
-       $forms_whitelist['adyen'] = array(
-               'file' => $form_dirs['adyen'] . '/adyen.html',
-               'gateway' => 'adyen',
-               'countries' => array( '+' => 'US',),
-               'currencies' => array( '+' => 'USD',),
-               'payment_methods' => array('card' => 'ALL'),
-       );
-}
 
 /****************************
  * Bank Transfer - Two-Step *
@@ -446,6 +434,18 @@
        'recurring',
 );
 
+/**********
+ * Adyen *
+ **********/
+if ( $wgDonationInterfaceEnableAdyen === true ) {
+       $forms_whitelist['adyen'] = array(
+               'file' => $form_dirs['adyen'] . '/adyen.html',
+               'gateway' => 'adyen',
+               'countries' => array( '+' => 'US',),
+               'currencies' => array( '+' => 'USD',),
+               'payment_methods' => array('cc' => array( 'visa', 'mc', 'amex'  
)),
+       );
+}
 
 //Yes: We definitely want to blow away everything that didn't come from this 
file.
 $wgDonationInterfaceAllowedHtmlForms = $forms_whitelist;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0d0f25c45a1fca88b8202df17a2b0c16df978755
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: fundraising/1.22
Gerrit-Owner: Mwalker <[email protected]>

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

Reply via email to