Closed chadwhitacre closed 11 years ago
The check for whether there's a valid account was bad. I took it out entirely, let's let Balanced handle that. Need to do manual payouts for @jnoller and myself.
My payout is $145.09. Jesse's is $76.20.
$payout = total payout, including fee (76.50 in Jesse's case here, e.g.)
$fee = 0.30
$credit = amount to credit on Balanced (76.20 in Jesse's case here, e.g.)
INSERT INTO exchanges (amount, fee, participant_id) VALUES (-$credit, $fee, $participant_id);
UPDATE participants SET balance = balance - $payout WHERE id=$participant_id;
Blech, okay!
@jnoller and I have no valid bank account connected. But we do. But our deposits failed to clear today (#403). No doubt related to #393 shenanigans.