1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 04:20:55 +01:00

Don't require payment review by default in Phortune

Summary: We've processed some payments without anything going wrong now, and in the Phacility case we control all the payment amounts and the goods are essentially-virtual and billed-after-delivery anyway, so abuse is fairly difficult/pointless and presumably unlikely.

Test Plan: Paid an invoice and saw it go to completed immediately.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D11951
This commit is contained in:
epriestley 2015-03-03 10:39:00 -08:00
parent 2d9206a904
commit bb342c60e2

View file

@ -195,8 +195,8 @@ final class PhortuneCart extends PhortuneDAO
// TODO: Perform purchase review. Here, we would apply rules to determine
// whether the charge needs manual review (maybe making the decision via
// Herald, configuration, or by examining provider fraud data). For now,
// always require review.
$needs_review = true;
// don't require review.
$needs_review = false;
if ($needs_review) {
$this->willReviewCart();