Allow merchants to disable payment providers and show more UI info

Summary:
Ref T2787.

  - Allow merchants to disable payment providers.
  - Show more useful information about providers on the payments page.
  - Make test vs live more clear.
  - Show merchant status.
  - Add a description to merchants to flesh them out a bit -- the merchant areas of responsibilities seem to be fitting well with accounts, etc.

Test Plan: {F215109}

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T2787

Differential Revision: https://secure.phabricator.com/D10662
This commit is contained in:
epriestley
2014-10-08 08:31:24 -07:00
parent 795eb3669e
commit 19db3fbb60
19 changed files with 338 additions and 36 deletions

View File

@@ -0,0 +1,2 @@
ALTER TABLE {$NAMESPACE}_phortune.phortune_merchant
ADD description LONGTEXT NOT NULL COLLATE utf8_bin;

View File

@@ -0,0 +1,5 @@
ALTER TABLE {$NAMESPACE}_phortune.phortune_paymentproviderconfig
ADD isEnabled BOOL NOT NULL;
UPDATE {$NAMESPACE}_phortune.phortune_paymentproviderconfig
SET isEnabled = 1;