Adamw has uploaded a new change for review.

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


Change subject: PayPal gateway can accept any currency, coercion is done 
internally.
......................................................................

PayPal gateway can accept any currency, coercion is done internally.

Change-Id: I7313f6996cdb6aae7f94aef45c3fe829d0e52ac4
---
M DonationInterfaceFormSettings.php
1 file changed, 0 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/70/56070/1

diff --git a/DonationInterfaceFormSettings.php 
b/DonationInterfaceFormSettings.php
index f57e931..7bcab58 100644
--- a/DonationInterfaceFormSettings.php
+++ b/DonationInterfaceFormSettings.php
@@ -416,22 +416,12 @@
        'file' => $form_dirs['paypal'] . '/paypal.html',
        'gateway' => 'paypal',
        'payment_methods' => array('paypal' => 'ALL'),
-       'currencies' => array(
-               '+' => array(
-                       'AUD', 'BRL', 'CAD', 'CZK', 'DKK', 'EUR', 'HKD', 'HUF', 
'ILS',
-                       'JPY', 'MYR', 'MXN', 'NOK', 'NZD', 'PHP', 'PLN', 'GBP', 
'SGD',
-                       'SEK', 'CHF', 'TWD', 'THB', 'TRY', 'USD',
-               ),
-       ),
 );
 
 $forms_whitelist['paypal-recurring'] = array(
        'file' => $form_dirs['paypal'] . '/paypal-recurring.html',
        'gateway' => 'paypal',
        'payment_methods' => array('paypal' => 'ALL'),
-       'currencies' => array(
-               '+' => $forms_whitelist['paypal']['currencies']['+'],
-       ),
        'recurring',
 );
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7313f6996cdb6aae7f94aef45c3fe829d0e52ac4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: fundraising/1.20
Gerrit-Owner: Adamw <[email protected]>

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

Reply via email to