Skip to content

Instantly share code, notes, and snippets.

@EdwardIII
Created January 14, 2014 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EdwardIII/215cf01b97ccccde8d69 to your computer and use it in GitHub Desktop.
Save EdwardIII/215cf01b97ccccde8d69 to your computer and use it in GitHub Desktop.
======================================================================
ERROR: test_payment_response_success (app.tests.OrderPaymentTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/edward/Projects/TicketSoc/app/tests.py", line 196, in test_payment_response_success
payment_response = self.order.payment_response(fake_get)
File "/Users/edward/Projects/TicketSoc/app/models.py", line 492, in payment_response
print type(dict(response))
File "/usr/local/lib/python2.7/site-packages/paypal/response.py", line 90, in __getitem__
key = key.upper()
AttributeError: 'int' object has no attribute 'upper'
----------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment