Ejegg has submitted this change and it was merged.

Change subject: Form settings: Disabling the Direct Debit form on payments
......................................................................


Form settings: Disabling the Direct Debit form on payments

Non-SEPA direct debit payments won't work anyway.

Change-Id: I7db41eed03f29306cd1c23bdbf1c644c1b9513a5
---
M DonationInterfaceFormSettings.php
1 file changed, 17 insertions(+), 16 deletions(-)

Approvals:
  Ejegg: Looks good to me, approved



diff --git a/DonationInterfaceFormSettings.php 
b/DonationInterfaceFormSettings.php
index 5dc1b92..4431b14 100644
--- a/DonationInterfaceFormSettings.php
+++ b/DonationInterfaceFormSettings.php
@@ -61,22 +61,23 @@
 /****************
  * Direct Debit *
  ****************/
-$forms_whitelist['dd'] = array(
-       'file' => $form_dirs['gc'] . '/dd/dd.html',
-       'gateway' => 'globalcollect',
-       'countries' => array(
-               '+' => array('AT', 'DE', 'ES', 'NL'),
-       ),
-       'payment_methods' => array('dd' => 'ALL')
-);
-
-$forms_whitelist['dd-recurring'] = array_merge(
-       $forms_whitelist['dd'],
-       array(
-                'file' => $form_dirs['gc'] . '/dd/dd-recurring.html',
-                'recurring',
-       )
-);
+//commenting out to disable the form, and the whole dd paymentmethod
+//$forms_whitelist['dd'] = array(
+//     'file' => $form_dirs['gc'] . '/dd/dd.html',
+//     'gateway' => 'globalcollect',
+//     'countries' => array(
+//             '+' => array('AT', 'DE', 'ES', 'NL'),
+//     ),
+//     'payment_methods' => array('dd' => 'ALL')
+//);
+//
+//$forms_whitelist['dd-recurring'] = array_merge(
+//     $forms_whitelist['dd'],
+//     array(
+//              'file' => $form_dirs['gc'] . '/dd/dd-recurring.html',
+//              'recurring',
+//     )
+//);
 
 /*********************
  * Electronic Wallet *

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7db41eed03f29306cd1c23bdbf1c644c1b9513a5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: fundraising/REL1_22
Gerrit-Owner: Katie Horn <[email protected]>
Gerrit-Reviewer: Awight <[email protected]>
Gerrit-Reviewer: Ejegg <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to