from django.conf.urls.defaults import patterns, url from django.views.decorators.csrf import csrf_exempt from views import OnlineView from views import SuccessView from views import FailureView urlpatterns = patterns('', url(r'^online/?$', csrf_exempt(OnlineView.as_view()), name='online'), url(r'^success/?$', csrf_exempt(SuccessView.as_view()), name='success'), url(r'^failure/?$', csrf_exempt(FailureView.as_view()), name='failure'), )
from django.conf.urls import patterns, url from views import PayView, SuccessView, FailureView urlpatterns = patterns('', url(r'^w1ru/postback/$', PayView.as_view(), name='getpaid-w1ru-postback'), url(r'^w1ru/success/$', SuccessView.as_view(), name='getpaid-w1ru-success'), url(r'^w1ru/failure/$', FailureView.as_view(), name='getpaid-w1ru-failure'), )
from django.conf.urls import patterns, url from views import PayView, SuccessView, FailureView urlpatterns = patterns('', url(r'^robokassa/postback/$', PayView.as_view(), name='robokassa-w1ru-postback'), url(r'^robokassa/success/$', SuccessView.as_view(), name='robokassa-w1ru-success'), url(r'^robokassa/failure/$', FailureView.as_view(), name='robokassa-w1ru-failure'), )