Awight has uploaded a new change for review.

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

Change subject: Disable Amazon forms
......................................................................

Disable Amazon forms

Bug: T107528
Change-Id: Ibd175fe0e5e8e7e844c9744b3e2b1c4988dde156
---
M DonationInterfaceFormSettings.php
1 file changed, 18 insertions(+), 14 deletions(-)


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

diff --git a/DonationInterfaceFormSettings.php 
b/DonationInterfaceFormSettings.php
index 84a5f0d..61894b8 100644
--- a/DonationInterfaceFormSettings.php
+++ b/DonationInterfaceFormSettings.php
@@ -10,20 +10,24 @@
 /**********
  * Amazon *
  **********/
-$forms_whitelist['amazon'] = array(
-       'file' => $form_dirs['amazon'] . '/amazon.html',
-       'gateway' => 'amazon',
-       'payment_methods' => array('amazon' => 'ALL'),
-       'redirect',
-);
-
-$forms_whitelist['amazon-recurring'] = array(
-       'file' => $form_dirs['amazon'] . '/amazon-recurring.html',
-       'gateway' => 'amazon',
-       'payment_methods' => array('amazon' => 'ALL'),
-       'redirect',
-       'recurring',
-);
+/**
+ * DISABLED 2015-08-21, the simplepay API is no longer supported.
+ *
+ * $forms_whitelist['amazon'] = array(
+ *     'file' => $form_dirs['amazon'] . '/amazon.html',
+ *     'gateway' => 'amazon',
+ *     'payment_methods' => array('amazon' => 'ALL'),
+ *     'redirect',
+ * );
+ * 
+ * $forms_whitelist['amazon-recurring'] = array(
+ *     'file' => $form_dirs['amazon'] . '/amazon-recurring.html',
+ *     'gateway' => 'amazon',
+ *     'payment_methods' => array('amazon' => 'ALL'),
+ *     'redirect',
+ *     'recurring',
+ * );
+*/
 
 /****************************
  * Bank Transfer - Two-Step *

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibd175fe0e5e8e7e844c9744b3e2b1c4988dde156
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Awight <[email protected]>

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

Reply via email to