-
Notifications
You must be signed in to change notification settings - Fork 308
Conversation
What cash are you talking about? |
@rohitpaulk In a few cases I made payouts to people by putting cold, hard cash in their grubby paws. :) |
Aha :) |
@kaguillera and I are trying to get the numbers from this latest version to line up.
|
The out 3 in customers is because we have three debits that were not credit card charges but were rather escrow shuffles from New Alliance back over to Balanced (cf gratipay/inside.gratipay.com#308). Our filter isn't good enough! |
Array args to bash functions are wtf.
Okay, we've weeded out five ACH debits: three escrow shuffles, and two user payins (one coming from Coinbase, and another a direct manual ACH debit). |
Here's our current tally. We're added counts into the script itself with a check after each transaction to find the places where our numbers go out.
|
Okay! We're getting good numbers now:
|
We've got a bug where we're inserting routes out-of-band of our transaction. Note the 0 above and the 1091 below. The problem is that we're calling
|
The goal of this PR is to resolve all of the raises under Hi-level. |
The three
|
For the first two test transactions, I suppose we should insert a new exchange record for each, since it is money I added into the system. Or we should refund them! Can we refund our first two transactions!? :D For the third, I think we need to manually modify the exchanges table to fold those two into a single exchange. It should then match the single transaction in Balanced. |
It appears that all duplicate routes per exchange are the result of duplicate customers (#3806). |
With aaea493 (should be the same as #3807 (comment)):
|
(And it is, afaict.) |
Resolving ambiguous routes via the
|
Looks like by modifying the source code while the script is running, I'm screwing up the tracebacks (which load their lines from source), and therefore throwing the counts off. |
In addition to card id
By using customer id to match in addition to card id (e236680), we reduce the number of routes we need to create by 55%, and we reduce
|
Honestly, at this point we're pushing 95% of our credit card charges linked between exchanges and transactions. That's probably good enough for the purposes of getting some refunds out the door tomorrow. |
Should've marked this |
Application error?! |
Fixed in #3813. |
This reverts commit 90b4a4b.
For #2779. This requires a little schema update: we want to link exchanges to transaction in foreign systems (Balanced, PayPal, etc.). Though with cash I guess we won't have a transaction to link against. Hmm ...