Skip to content

Canceling a pending payout re-holds the released funds for the full payout delay #12103

@pieterbeulque

Description

@pieterbeulque

When a pending payout is canceled, the transactions that were reserved for it are released but get re-subjected to the account's full payout_transaction_delay. As a result, the funds fall under the held balance and are not immediately available for a new payout, even though they already cleared the delay.

This also causes a mismatch between the Available badge on the transactions themselves and the held balance on Finance → Income.

Steps to reproduce

  1. Use an account with a non-zero payout_transaction_delay (default is 7 days).
  2. Have balance transactions that have aged past the delay (i.e. currently available).
  3. Create a payout — this reserves those transactions (payout_transaction_id is set).
  4. Cancel the payout while it's pending.
  5. Check the account's balance summary.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions