IPN Test Failure

128 views
Skip to first unread message

Nick

unread,
Jun 20, 2011, 12:14:53 PM6/20/11
to django...@googlegroups.com
Hi,

Having trouble getting IPN working in Website Payments Pro. Not the IPN model (I added IPN to my INSTALLED_APPS), https doesn't *seem* to be the issue (I get a cannot connect error with https as my IPN endpoint, but a 500 error with http), but when I test IPN with "python manage.py test ipn", it fails:

Creating test database for alias 'default'...
Signal was called!
.Signal was called!
F...Signal was called!
.
======================================================================
FAIL: test_duplicate_txn_id (paypal.standard.ipn.tests.test_ipn.IPNTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/django_paypal-0.1.2-py2.6.egg/paypal/standard/ipn/tests/test_ipn.py", line 124, in test_duplicate_txn_id
    self.assertEqual(ipn_obj.flag, True)
AssertionError: False != True

----------------------------------------------------------------------
Ran 6 tests in 2.251s


Any idea of what this could be? Thoughts on what might be going wrong?

Thanks,

Nick
Reply all
Reply to author
Forward
0 new messages