Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

run Gratipay 169 #323

Closed
chadwhitacre opened this issue Aug 27, 2015 · 31 comments
Closed

run Gratipay 169 #323

chadwhitacre opened this issue Aug 27, 2015 · 31 comments

Comments

@chadwhitacre
Copy link
Contributor

168

@chadwhitacre
Copy link
Contributor Author

Topped up team review.

@chadwhitacre
Copy link
Contributor Author

Team Review 3.

@chadwhitacre
Copy link
Contributor Author

Eff. I have to deal with another of gratipay/gratipay.com#2779 before running payday. :-(

https://gratipay.freshdesk.com/helpdesk/tickets/2547

@chadwhitacre
Copy link
Contributor Author

Okay! Let's do it! :-)

🔊 📢

@chadwhitacre
Copy link
Contributor Author

I think I have to run a modified unblock and then replay the webhook at Balanced. Why? What is that doing?

@chadwhitacre
Copy link
Contributor Author

I don't understand what actually happened with gratipay/gratipay.com#2779 (comment). Did unblock succeed? It seems to me that unblock duplicates the effect of replaying the webhook. Either we'd do one or the other, but not both, and over there it looks like replaying the webhook is what ultimately worked. Why did it work?

@chadwhitacre
Copy link
Contributor Author

I ran an adaptation of unblock and got the same AssertionError.

@chadwhitacre
Copy link
Contributor Author

"ooh, figured out why the assert fails"

Looking into that ...

@chadwhitacre
Copy link
Contributor Author

@chadwhitacre
Copy link
Contributor Author

The exchange that failed has a null route, which explains the AssertionError.

@chadwhitacre
Copy link
Contributor Author

I manually updated the route of the relevant record in the exchanges table.

=> update exchanges set route=[] where id=[];

@chadwhitacre
Copy link
Contributor Author

Now I expect unblock to work ...

@chadwhitacre
Copy link
Contributor Author

Yessssssssss!

[gratipay] $ heroku config -s | honcho run -e /dev/stdin ./env/bin/python unblock.py
[gratipay] $

@chadwhitacre
Copy link
Contributor Author

And I guess retrying the webhook would have worked as well? shrug 🍧

@chadwhitacre
Copy link
Contributor Author

BLAM!!!!!!!!!!!!!!!

The user's balance is as expected and we can proceed with payday! 🚈

@chadwhitacre
Copy link
Contributor Author

[gratipay] $ heroku config -s | run_dammit /dev/stdin -c ./env/bin/python ./bin/migrate-tips.py
Migrated 20 tip(s) for 'md-for-bootstrap'
'pageres' already migrated.
Migrated 1 tip(s) for 'torque3d'
Migrated 0 tip(s) for 'openlp'
Migrated 0 tip(s) for 'meteor-active-route'
'aegirproject' already migrated.
'rubocop' already migrated.
Migrated 0 tip(s) for 'coala'
'tabula' already migrated.
Migrated 0 tip(s) for 'hamper'
'nim' already migrated.
'magit' already migrated.
'webtorrent' already migrated.
Migrated 0 tip(s) for 'matlab-schemer'
'gkz-open-source' already migrated.
'zed' already migrated.
'svg-js' already migrated.
'endless-parentheses' already migrated.
'trakt-for-plex' already migrated.
Migrated 0 tip(s) for 'rtail'
'davorg' already migrated.
'dreditor' already migrated.
'jsbin' already migrated.
Migrated 0 tip(s) for 'tech-store-club'
Migrated 0 tip(s) for 'kriasoft'
Migrated 0 tip(s) for 'piloting-postdevelopment'
'esdiscuss' already migrated.
'rhombus-tech' already migrated.
Migrated 0 tip(s) for 'detexify'
'sailor' already migrated.
'wdrl' already migrated.
'cider' already migrated.
'cpan-book' already migrated.
'nanoc' already migrated.
'ucoin' already migrated.
'image-optim' already migrated.
'josd' already migrated.
'survivejs' already migrated.
'gammu' already migrated.
'the-charis-project' already migrated.
Migrated 0 tip(s) for 'libravatar'
'northern-plains-athletics' already migrated.
'debian-lts-by-freexian' already migrated.
'knopproject' already migrated.
'sqlalchemy' already migrated.
'doit' already migrated.
'act' already migrated.
'cpan-io' already migrated.
'bevry' already migrated.
'totalism-hackbase' already migrated.
Migrated 0 tip(s) for 'shields'
'cuberite' already migrated.
'perlweekly' already migrated.
'encommuns' already migrated.
'json-resume' already migrated.
'simplytest-me' already migrated.
'pillow' already migrated.
'Gratipay' already migrated.
'jshttp' already migrated.
'devdocs' already migrated.
'weblate' already migrated.
'the-mountain-spirit' already migrated.
'exercism' already migrated.
'perl-maven' already migrated.
'sudomesh' already migrated.
'catapultpgh' already migrated.
'citizens-cooperative' already migrated.
Migrated 0 tip(s) for 'kivy'
'sublimelinter' already migrated.
'mojolicious' already migrated.
'cyberpipe' already migrated.
'nuvola-player' already migrated.
'sudo-room' already migrated.
'duo' already migrated.
'introtopython' already migrated.
Done.

@chadwhitacre
Copy link
Contributor Author

Backup taken and verified.

@chadwhitacre
Copy link
Contributor Author

Script started.

@chadwhitacre
Copy link
Contributor Author

Script ran for two minutes (0:02:33.964958).

@chadwhitacre
Copy link
Contributor Author

Let's just get this out of the way now:

=> update exchange_routes set fee_cap=20 where fee_cap is null and network='paypal';
UPDATE 17

@chadwhitacre
Copy link
Contributor Author

Decline rate: 12.5% (12 / 96). Lower volume today:

screen shot 2015-08-27 at 9 13 27 pm

@chadwhitacre
Copy link
Contributor Author

PayPal is not SMSing me for 2FA. I'm having fun with #323, but I'd really like to finish payday.

@chadwhitacre
Copy link
Contributor Author

I was able to get in by answering some identity verification questions instead.

@chadwhitacre
Copy link
Contributor Author

Yikes, PayPal!

screen shot 2015-08-27 at 9 45 33 pm

@chadwhitacre
Copy link
Contributor Author

I found a direct URL for MassPay in my browser history.

@chadwhitacre
Copy link
Contributor Author

Bad fee cap ...

@chadwhitacre
Copy link
Contributor Author

Got it. Waiting for MassPay to complete.

@chadwhitacre
Copy link
Contributor Author

@chadwhitacre
Copy link
Contributor Author

Confirmed that #323 (comment) should be all set, and replied.

@chadwhitacre
Copy link
Contributor Author

MassPay done and posted back for 46 users.

@chadwhitacre
Copy link
Contributor Author

I can't get to the summary or transaction listing screens on PayPal due to the redirect. I found the "Add Money" link in my history, and shuffled escrow estimating the amount.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant