Ejegg has submitted this change and it was merged. Change subject: update form settings to allow for WorldPay tests ......................................................................
update form settings to allow for WorldPay tests Change-Id: Ifecc4880d6b80ca0faedc1613d75df84c1553d96 --- M DonationInterfaceFormSettings.php 1 file changed, 24 insertions(+), 0 deletions(-) Approvals: Ejegg: Looks good to me, approved diff --git a/DonationInterfaceFormSettings.php b/DonationInterfaceFormSettings.php index 4431b14..1024103 100644 --- a/DonationInterfaceFormSettings.php +++ b/DonationInterfaceFormSettings.php @@ -493,6 +493,30 @@ 'payment_methods' => array( 'cc' => 'ALL' ), 'selection_weight' => 0 ); + + /************************* + * WorldPay Form Tests * + *************************/ + + $worldpay_test_spec = array( + 'file' => $form_dirs['worldpay'] . '/worldpay-test.html', + ) + $forms_whitelist['worldpay']; + + $forms_whitelist['wp-sn'] = $worldpay_test_spec; + $forms_whitelist['wp-sw'] = $worldpay_test_spec; + $forms_whitelist['wp-fud'] = $worldpay_test_spec; + $forms_whitelist['wp-btnb'] = $worldpay_test_spec; + $forms_whitelist['wp-btng'] = $worldpay_test_spec; + + + $forms_whitelist['wp-ddcc'] = array( + 'file' => $form_dirs['worldpay'] . '/worldpay-dd-test.html', + 'gateway' => 'worldpay', + 'countries' => array( '+' => array( 'BE', 'FR', 'US' ) ), + 'currencies' => array( '+' => 'ALL' ), + 'payment_methods' => array( 'cc' => 'ALL' ), + 'selection_weight' => 0 + ); } /* * *********** -- To view, visit https://gerrit.wikimedia.org/r/171032 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ifecc4880d6b80ca0faedc1613d75df84c1553d96 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/core Gerrit-Branch: fundraising/REL1_23 Gerrit-Owner: Ssmith <ssm...@wikimedia.org> Gerrit-Reviewer: Awight <awi...@wikimedia.org> Gerrit-Reviewer: Ejegg <eeggles...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits