Ejegg has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/349250 )

Change subject: Add paypal_ec to form settings
......................................................................

Add paypal_ec to form settings

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


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

diff --git a/DonationInterfaceFormSettings.php 
b/DonationInterfaceFormSettings.php
index cf2897c..995b924 100644
--- a/DonationInterfaceFormSettings.php
+++ b/DonationInterfaceFormSettings.php
@@ -259,12 +259,12 @@
  *************************/
 
 $forms_whitelist['paypal'] = array(
-       'gateway' => 'paypal',
+       'gateway' => array( 'paypal', 'paypal_ec' ),
        'payment_methods' => array('paypal' => 'ALL'),
 );
 
 $forms_whitelist['paypal-recurring'] = array(
-       'gateway' => 'paypal',
+       'gateway' => array( 'paypal', 'paypal_ec' ),
        'payment_methods' => array('paypal' => 'ALL'),
        'recurring',
 );
@@ -428,12 +428,12 @@
  * *********** */
 
 $forms_whitelist['error-default'] = array (
-       'gateway' => array ( 'globalcollect', 'adyen', 'amazon', 'astropay', 
'paypal' ),
+       'gateway' => array ( 'globalcollect', 'adyen', 'amazon', 'astropay', 
'paypal', 'paypal_ec' ),
        'special_type' => 'error',
 );
 
 $forms_whitelist['error-noform'] = array (
-       'gateway' => array ( 'globalcollect', 'adyen', 'amazon', 'astropay', 
'paypal' ),
+       'gateway' => array ( 'globalcollect', 'adyen', 'amazon', 'astropay', 
'paypal', 'paypal_ec' ),
        'special_type' => 'error',
 );
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6ac25a4d1da99a251dc213cd6cdedb4aa970ebd4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Ejegg <eeggles...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to