Ejemplo n.º 1
0
from django.conf.urls import patterns, url
from django.views.decorators.csrf import csrf_exempt
from getpaid.backends.payu.views import OnlineView, SuccessView, FailureView

urlpatterns = patterns('',
    url(r'^online/$', csrf_exempt(OnlineView.as_view()), name='online'),
    url(r'^success/(?P<pk>\d+)/$', csrf_exempt(SuccessView.as_view()), name='success'),
    url(r'^failure/(?P<pk>\d+)/$', csrf_exempt(FailureView.as_view()), name='failure'),

)
Ejemplo n.º 2
0
from django.conf.urls import patterns, url
from django.views.decorators.csrf import csrf_exempt
from getpaid.backends.payu.views import OnlineView, SuccessView, FailureView

urlpatterns = patterns('',
    url(r'^online/$', csrf_exempt(OnlineView.as_view()), name='getpaid-payu-online'),
    url(r'^success/(?P<pk>\d+)/', csrf_exempt(SuccessView.as_view()), name='getpaid-payu-success'),
    url(r'^failure/(?P<pk>\d+)/(?P<error>\d+)/', csrf_exempt(FailureView.as_view()), name='getpaid-payu-failure'),

)
Ejemplo n.º 3
0
from django.conf.urls import patterns, url
from django.views.decorators.csrf import csrf_exempt
from getpaid.backends.payu.views import OnlineView, SuccessView, FailureView

urlpatterns = patterns('',
    url(r'^online/$', csrf_exempt(OnlineView.as_view()), name='getpaid-payu-online'),
    url(r'^success/(?P<pk>\d+)/$', csrf_exempt(SuccessView.as_view()), name='getpaid-payu-success'),
    url(r'^failure/(?P<pk>\d+)/$', csrf_exempt(FailureView.as_view()), name='getpaid-payu-failure'),

)
Ejemplo n.º 4
0
from django.conf.urls import url
from django.views.decorators.csrf import csrf_exempt
from getpaid.backends.payu.views import OnlineView, SuccessView, FailureView

urlpatterns = [
    url(r'^online/$',
        csrf_exempt(OnlineView.as_view()),
        name='online'),
    url(r'^success/(?P<pk>\d+)/',
        csrf_exempt(SuccessView.as_view()),
        name='success'),
    url(r'^failure/(?P<pk>\d+)/(?P<error>\d+)/',
        csrf_exempt(FailureView.as_view()),
        name='failure'),
]