Mwalker has submitted this change and it was merged.

Change subject: amazon-recurring and value change form support
......................................................................


amazon-recurring and value change form support

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

Approvals:
  Mwalker: Verified; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/DonationInterfaceFormSettings.php 
b/DonationInterfaceFormSettings.php
index 241a541..53c7147 100644
--- a/DonationInterfaceFormSettings.php
+++ b/DonationInterfaceFormSettings.php
@@ -8,6 +8,7 @@
        'default' => $wgDonationInterfaceHtmlFormDir,
        'gc' => $wgGlobalCollectGatewayHtmlFormDir,
        'paypal' => $wgPaypalGatewayHtmlFormDir,
+       'amazon' => $wgAmazonGatewayHtmlFormDir,
 //     'pfp' => $wgPayflowProGatewayHtmlFormDir,
 );
 
@@ -15,6 +16,7 @@
  * Amazon *
  **********/
 $forms_whitelist['amazon'] = array(
+       'file' => $form_dirs['amazon'] . '/amazon.html',
        'gateway' => 'amazon',
        'countries' => array( '+' => 'US',),
        'currencies' => array( '+' => 'USD',),
@@ -22,6 +24,16 @@
        'redirect',
 );
 
+$forms_whitelist['amazon-recurring'] = array(
+       'file' => $form_dirs['amazon'] . '/amazon-recurring.html',
+       'gateway' => 'amazon',
+       'countries' => array( '+' => 'US',),
+       'currencies' => array( '+' => 'USD',),
+       'payment_methods' => array('amazon' => 'ALL'),
+       'redirect',
+       'recurring',
+);
+
 /****************************
  * Bank Transfer - Two-Step *
  ****************************/

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib0558b072e19d361c8fe88d66cc595f749a40e97
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: fundraising/1.22
Gerrit-Owner: Adamw <[email protected]>
Gerrit-Reviewer: Katie Horn <[email protected]>
Gerrit-Reviewer: Mwalker <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to