Awight has uploaded a new change for review.

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

Change subject: Add WP form tests for button copy
......................................................................

Add WP form tests for button copy

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


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/38/169538/1

diff --git a/DonationInterfaceFormSettings.php 
b/DonationInterfaceFormSettings.php
index 4431b14..8dc7faa 100644
--- a/DonationInterfaceFormSettings.php
+++ b/DonationInterfaceFormSettings.php
@@ -354,6 +354,55 @@
 $forms_whitelist['email-cc-vm'] = $forms_whitelist['cc-vm'];
 
 /*************************
+ * WorldPay Form Tests *
+ *************************/
+
+$forms_whitelist['wp-sn'] = array(
+       'file' => $form_dirs['worldpay'] . '/worldpay-test.html',
+       'gateway' => 'worldpay',
+       'countries' => array( '+' => array( 'BE', 'FR', 'US' ) ),
+       'currencies' => array( '+' => 'ALL' ),
+       'payment_methods' => array( 'cc' => 'ALL' ),
+       'selection_weight' => 0
+);
+
+$forms_whitelist['wp-sw'] = array(
+       'file' => $form_dirs['worldpay'] . '/worldpay-test.html',
+       'gateway' => 'worldpay',
+       'countries' => array( '+' => array( 'BE', 'FR', 'US' ) ),
+       'currencies' => array( '+' => 'ALL' ),
+       'payment_methods' => array( 'cc' => 'ALL' ),
+       'selection_weight' => 0
+);
+
+$forms_whitelist['wp-fud'] = array(
+       'file' => $form_dirs['worldpay'] . '/worldpay-test.html',
+       'gateway' => 'worldpay',
+       'countries' => array( '+' => array( 'BE', 'FR', 'US' ) ),
+       'currencies' => array( '+' => 'ALL' ),
+       'payment_methods' => array( 'cc' => 'ALL' ),
+       'selection_weight' => 0
+);
+
+$forms_whitelist['wp-btnb'] = array(
+       'file' => $form_dirs['worldpay'] . '/worldpay-test.html',
+       'gateway' => 'worldpay',
+       'countries' => array( '+' => array( 'BE', 'FR', 'US' ) ),
+       'currencies' => array( '+' => 'ALL' ),
+       'payment_methods' => array( 'cc' => 'ALL' ),
+       'selection_weight' => 0
+);
+
+$forms_whitelist['wp-btng'] = array(
+       'file' => $form_dirs['worldpay'] . '/worldpay-test.html',
+       'gateway' => 'worldpay',
+       'countries' => array( '+' => array( 'BE', 'FR', 'US' ) ),
+       'currencies' => array( '+' => 'ALL' ),
+       'payment_methods' => array( 'cc' => 'ALL' ),
+       'selection_weight' => 0
+);
+
+/*************************
  * Recurring Credit Card *
  *************************/
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9668b87d11267db1a2198fb5a4044d6c7d14b206
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: fundraising/REL1_23
Gerrit-Owner: Awight <[email protected]>
Gerrit-Reviewer: Ssmith <[email protected]>

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

Reply via email to