Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15489468
D14973.id36169.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D14973.id36169.diff
View Options
diff --git a/src/applications/phortune/controller/PhortuneAccountViewController.php b/src/applications/phortune/controller/PhortuneAccountViewController.php
--- a/src/applications/phortune/controller/PhortuneAccountViewController.php
+++ b/src/applications/phortune/controller/PhortuneAccountViewController.php
@@ -132,6 +132,10 @@
$methods = id(new PhortunePaymentMethodQuery())
->setViewer($viewer)
->withAccountPHIDs(array($account->getPHID()))
+ ->withStatuses(
+ array(
+ PhortunePaymentMethod::STATUS_ACTIVE,
+ ))
->execute();
foreach ($methods as $method) {
diff --git a/src/applications/phortune/controller/PhortunePaymentMethodDisableController.php b/src/applications/phortune/controller/PhortunePaymentMethodDisableController.php
--- a/src/applications/phortune/controller/PhortunePaymentMethodDisableController.php
+++ b/src/applications/phortune/controller/PhortunePaymentMethodDisableController.php
@@ -38,11 +38,10 @@
}
return $this->newDialog()
- ->setTitle(pht('Disable Payment Method?'))
- ->setShortTitle(pht('Disable Payment Method'))
+ ->setTitle(pht('Remove Payment Method'))
->appendParagraph(
pht(
- 'Disable the payment method "%s"?',
+ 'Remove the payment method "%s" from your account?',
phutil_tag(
'strong',
array(),
@@ -50,9 +49,9 @@
->appendParagraph(
pht(
'You will no longer be able to make payments using this payment '.
- 'method. Disabled payment methods can not be reactivated.'))
+ 'method.'))
->addCancelButton($account_uri)
- ->addSubmitButton(pht('Disable Payment Method'));
+ ->addSubmitButton(pht('Remove Payment Method'));
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 12, 9:19 AM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7226248
Default Alt Text
D14973.id36169.diff (1 KB)
Attached To
Mode
D14973: Use more reassuring UI and copy for removing payment methods
Attached
Detach File
Event Timeline
Log In to Comment