Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

null route for recent charge receipt #3533

Closed
chadwhitacre opened this issue Jun 10, 2015 · 1 comment
Closed

null route for recent charge receipt #3533

chadwhitacre opened this issue Jun 10, 2015 · 1 comment

Comments

@chadwhitacre
Copy link
Contributor

Traceback (most recent call last):
  File "site-packages/algorithm.py", line 288, in run
    new_state = function(**deps.as_kwargs)
  File "aspen/algorithms/website.py", line 104, in get_response_for_resource
    return {'response': resource.respond(state)}
  File "aspen/resources/simplate.py", line 57, in respond
    exec self.pages[1] in context
  File "/app/www/~/%username/receipts/%exchange_id.int.html.spt", line 24, in <module>
    card = CreditCard.from_route(route)
  File "gratipay/billing/instruments.py", line 32, in from_route
    address_postal_code=card.billing_address.postal_code
AttributeError: 'NoneType' object has no attribute 'postal_code'

https://app.getsentry.com/gratipay/gratipay-com/group/67070275/

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@chadwhitacre
Copy link
Contributor Author

I'm trying to provide an example receipt on #3531 and hit this. :(

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

No branches or pull requests

1 participant