Z
Z
zelsky2016-10-04 16:08:44
Django
zelsky, 2016-10-04 16:08:44

Django-paypal not writing to database?

Docks to the module
When someone uses this button to buy something PayPal makes a HTTP POST to your “notify_url”. PayPal calls this Instant Payment Notification (IPN). The view paypal.standard.ipn.views.ipn handles IPN processing. To set the correct notify_url add the following to your urls.py:

from django.conf.urls import url, include

urlpatterns = [
    url(r'^paypal/', include('paypal.standard.ipn.urls')),
]

Everything worked fine except for writing to the database. I see the payment in the paypal sendbox.
UPD:
The essence is the same. djbook.ru/forum/topic/2820
UPD2:
https://community.webfaction.com/questions/9739/50...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question