-
Notifications
You must be signed in to change notification settings - Fork 38
run Gratipay 195 #516
Comments
Gotta run to the doctor this morning. I should be back around my usual time + 1 hour. |
Let's gooo! |
🚀 |
Approved 2 1.0 Payout Applications |
|
Backup completed and verified. |
Got a whole crap ton of InsecurePlatformWarning's from payday, but everything appeared to work |
|
Updated three users to a fee cap of 20.00 per the masspay None bug #485 (comment) |
@clone1018 is this on a droplet or your local? It usually takes around 3 minutes on your system, I see that it is < 1 minute today.. |
That was on a droplet, normally on my laptop it takes 3 minutes. |
1 GB Memory / 30 GB Disk / NYC3 |
👍 |
Of course running into a couple of masspay wonky fees, working on that. |
@rohitpaulk so we had 3 None's in masspay, I manually uploaded each and set an adjusted fee for two of them, but I'm still not getting the correct masspay numbers, is my next step splitting this file up? |
Are you saying that you tried thrice, by setting one of the three to $1, and the other two to $20? Isn't it possible that two of them are supposed to be $1? (or that all of them are supposed to be $1) |
@clone1018 if you upload only 3 of them, and you're getting a fee mismatch error - then there definitely is an error with one (or more) of those 3 records. |
My normal process has been to split out the paypay output csv into 3 new files with each person I manually added a fee_cap for, and check that their Gratipay estimated fee matches paypal, if it doesn't I update their fee_cap to be whatever paypal says it is. The past 3 paydays that worked fine and the numbers ended up matching up |
One file per person |
Alright.. So after your adjustments - the three files (with one record each) individually pass the fee checks is what you're saying, correct? |
Yeah |
Ah, then no other option 😞 Binary search it is.
|
😭 |
Sorry for the delay, had a bunch of stuff come up, bisecting these files now! |
Just gonna vomit everything I'm going through here so I dont mess anything up. First Chunk: 1-33 Split the file in two, both chunks have incorrect fees. First Chunk Off: 5.55 |
44-67 are good. |
Looks like the off person is someone I modified a couple of paydays back? |
I have to be doing something wrong, the other incorrect fees are my previous payday modifications? @rohitpaulk |
@whit537 just in case |
Went through previous paydays to find out what we normally do, normally @whit537 updates all null fee_caps to be 20.00 before running masspay. |
... |
So really I'm trying to figure out: If a user has an incorrect fee should I be setting their exchange_routes fee_cap to the Paypal fee cap or something else? If so wouldn't this change week by week? How do we correctly calculate their fee? |
From what I see so far, some of my previously updated exchange_routes (updating by setting fee_cap to whatever paypal says) are now incorrect because their receiving amount went up? |
@clone1018 PayPal has two possible fee caps:
There's no way (that I found when I looked) of determining which category PayPal puts a user in except actually uploading a MassPay input CSV and checking the computed fees (kinda annoying). |
Okay, didn't know that
|
On the face of it this doesn't sound totally implausible, since it can depend on the amount we're paying out. I.e., if we are paying out $100 to someone inside the U.S. then there fee will be $1 (2% = $2, but it's capped). If we're paying them $40 then the fee will be $0.80 and we won't notice the cap. |
Interesting. My habit has been to set all that are |
Yeah, I've been setting a users fee cap to the fee reported by paypal |
Ah ... yeah, it should be either $20 or $1. The /me updates docs ... |
Okay, awesome, so I need chunk out this csv, check for anyone with a fee_cap of 1.00 and then verify they're not supposed to be 20.00, or vise versa? |
Paypal fee: 23.42 Since the numbers are in that direction does it mean a couple of users have an incorrectly set 20.00 fee_cap when it should be $1? |
(Docs updated in c8f5275.) |
@clone1018 We're out by +$5.55. In the simplest case that means that we think someone has a $20 fee cap when they really have a $1 fee cap. We think they owe $6.55 (below the $20 fee cap), when they really owe $1 (fee capped at $1). However, the fee delta is a sum, it could include more than one fee cap discrepancy. Unfortunately our current best practice is to find out via binary search. |
Alright I've got the tools and the knowledge then to complete this, thanks for popping in @whit537 |
@clone1018 I'm done with COS for the day and just hanging out in my hotel room. I can copilot since hopefully @rohitpaulk is asleep. :-) !m @clone1018 |
Invalid fee caps: D'oh! Should have been able to guess that one! |
POSTed MassPay back to Gratipay for 67 users. |
Decline rate = 11.49 |
1285 * 5 = 6425, paypal says we have 4,272.47. @whit537 I noticed you top up to 10,000. Should I do that vs what the docs recommend? |
Adding $3,000 for now. |
It's done! |
I'm gonna go have a 🍻 |
Not a biggie. I can drop back to what the docs recommend. Mostly I think $10,000 was a round number, and maybe also was influenced by uncertainty around 1.0 payouts (I believe we spiked PayPal upwards just in case, and have gradually dwindled it back down).
You rock! !m @clone1018!
I shall virtually join you! :-) 🍻 |
👏 |
#508
Docs
http://inside.gratipay.com/howto/run-payday
Rotation
The text was updated successfully, but these errors were encountered: