mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 17:22:42 +01:00
1e8c314c81
Summary: Ref T2787. This has some rough edges but basically works. - Users can cancel orders that are in incomplete states (or in complete states, if the application allows them to -- for example, some future application might allow cancellation of billed-but-not-shipped orders). - Merchant controllers can partially or fully refund orders from any state after payment. Test Plan: This is still rough around the edges, but issued Stripe and WePay refunds. Reviewers: btrahan Reviewed By: btrahan Subscribers: chad, epriestley Maniphest Tasks: T2787 Differential Revision: https://secure.phabricator.com/D10664
11 lines
388 B
SQL
11 lines
388 B
SQL
ALTER TABLE {$NAMESPACE}_phortune.phortune_charge
|
|
ADD amountRefundedAsCurrency VARCHAR(64) NOT NULL COLLATE utf8_bin;
|
|
|
|
UPDATE {$NAMESPACE}_phortune.phortune_charge
|
|
SET amountRefundedAsCurrency = '0.00 USD';
|
|
|
|
ALTER TABLE {$NAMESPACE}_phortune.phortune_charge
|
|
ADD refundingPHID VARBINARY(64);
|
|
|
|
ALTER TABLE {$NAMESPACE}_phortune.phortune_charge
|
|
ADD refundedChargePHID VARBINARY(64);
|