-
Notifications
You must be signed in to change notification settings - Fork 309
Error on bank account config #2111
Comments
Ditto. :-( /me looking into it ... |
No error for me, but I do not have a bank account attached. |
https://app.getsentry.com/gittip/gittip/group/15259519/
|
I'm trying to debug this locally, but I'm having trouble connecting a bank account because I'm not getting error messages back because of #1850. |
Actually, I think I'm not hitting #1850. I think it's a failure to deal with an error coming back from balanced.js. |
I've managed to get a bank account to save. It didn't work cleanly, though. The button stayed on "saving" and I wasn't redirected back to my profile. |
So it looks like the immediate issue on this ticket has to do with changes to the Balanced API in #2036. cc: @matthewfl |
IRC. |
So what did BalancedBankAccount used to be? |
Here's what it is now: class BalancedBankAccount(BalancedThing):
"""This is a dict-like wrapper around a Balanced Account.
"""
thing_type = 'bank_account'
def __getitem__(self, item):
mapper = {
'id': 'href',
'customer_href': 'customer.href',
'bank_name': 'bank_name',
'last_four': 'last_four',
}
if item not in mapper:
raise IndexError()
if not self._thing:
return None
return self._get(mapper[item]) |
The bug is that we are asking for |
Actually, it looks like the dereferencing got pushed down into the parent class in that same commit. |
Does this support case https://gittip.supportbee.com/tickets/2090846 come from a user hitting this error? |
@bruceadams Yes, thanks for linking it here. |
I've heard from @qrush in private IRC that this is working for him. Closing. |
https://www.gittip.com/bank-account.html errors for me. 😢
The text was updated successfully, but these errors were encountered: