-
Notifications
You must be signed in to change notification settings - Fork 308
stop computing an email for balanced #453
Comments
Should be changes all be in |
@onceuponatimeforever There is a script for running the tests. The simplest way is with:
Do you have a local Postgres set up? The tests are really slow if you use Postgression. |
I'm using the postgres app for MacOS for running postgres. What should be the expected output of
|
You need to update your |
I have postgres running now. Then, 'make schema' gives the following error stack trace:
|
That makes me think you have a malformed DATABASE_URL. Mind pasting that? |
From looking at the code it seams that we would just skip this search: |
But it might not be worth touching this given #1556 since there is no risk leaving this in, is there? |
https://docs.balancedpayments.com/current/api.html?language=python#creating-an-account
|
https://support.balancedpayments.com/hc/en-us/articles/200136270-Accounts-vs-Customers-what-s-the-difference- |
@zwn Should we reticket the change from Account to Customer? |
@whit537 That depends. I am not sure what "deprecated" in balanced terms means. I wouldn't do it unless there is a clear added value in it for us. From reading the description it is needed when you want to do a payout to an unverified customer, which was not possible with accounts. Our workflow is settled, no one complains, so for me no, lets not do it (the change from Account to Customer). Does balanced do some upgrades to the api because of security issues or something else that would force us to do it? |
Not that I'm aware of. However, I think there can be value in staying current with evolving dependencies. It's easier to do periodic smaller upgrades than have to upgrade all at once when some crisis hits. No? |
😄 Could be. But there is always the YAGNI principle. So I guess it really depends on the number and difficulty of the "small" upgrades versus the times when some crisis hits. But given that we are currently resource constrained I'd try to minimize current, not future, work. |
Fair enough. :-) |
I have removed this issue from the Infrastructure milestone. It would be nice to have this cleaned up but it is not something that holds us back very much. |
We have a user, https://www.gittip.com/Voynov%20E./, who tried to add a credit card, and ran afoul of this issue because Balanced rejected the email we computed ( Here's the sentry entry: https://app.getsentry.com/gittip/gittip/group/14791500/events/760258656/ |
Where "this bug" is...? |
@zwn Did you follow the sentry link? |
@whit537 Yes. Balanced is complaining that a valid email address is not valid. I was not sure what "this bug" refers to. Is it: |
Answer: (c). Since we already have this ticket open and fixing this ticket would also address the specific case we just hit, I decided to associate that specific case with this ticket. Do you think that's the wrong approach? |
Closing as obsolete. |
The Balanced API used to require an email address, so we compute one from the Gittip username + "@gittip.com". I believe Balanced no longer requires this, so we should stop doing it. It tripped us up on #451.
The text was updated successfully, but these errors were encountered: