我在django應用程序中使用django-paypal作爲付款解決方案。我試圖實現一個IPN處理程序。django-paypal IPN不起作用
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/django/core/servers/basehttp.py", line 281, in run
self.finish_response()
File "/usr/local/lib/python2.6/dist-packages/django/core/servers/basehttp.py", line 321, in finish_response
self.write(data)
File "/usr/local/lib/python2.6/dist-packages/django/core/servers/basehttp.py", line 417, in write
self._write(data)
File "/usr/lib/python2.6/socket.py", line 300, in write
self.flush()
File "/usr/lib/python2.6/socket.py", line 286, in flush
self._sock.sendall(buffer)
error: [Errno 104] Connection reset by peer
我的支付應用urls.py看起來是這樣的:
urlpatterns = patterns('mysite.payment.views',
(r'^thank_you/', 'thank_you'),
(r'^canceled/', 'canceled'),
(r'^paypal-ipn/', include('paypal.standard.ipn.urls'))
)
對我來說,
時收到IPN消息,在我的IPN處理URL Django的服務器崩潰,會發生什麼錯誤信息是相當無用的。如果有人能幫助我,那會很棒。
>。
2010-11-11 22:06:18