Example #1
0
"""The urls for the ``paypal_express_checkout`` app."""
from django.conf.urls import patterns, url

from paypal_express_checkout.views import SetExpressCheckoutView

from . import forms


urlpatterns = patterns(
    '',
    url(
        r'^$',
        SetExpressCheckoutView.as_view(
            form_class=forms.PyconsgGroupSetExpressCheckoutForm,
            template_name='paypal_express_checkout/group_set_checkout.html'),
        name='paypal_group_checkout'
    ),
    url(
        r'^early/$',
        SetExpressCheckoutView.as_view(
            form_class=forms.PyconsgGroupEarlyBirdSetExpressCheckoutForm,
            template_name='paypal_express_checkout/group_set_checkout.html'),
        name='paypal_group_checkout'
    ),
)
from paypal_express_checkout.views import (
    DoExpressCheckoutView,
    IPNListenerView,
    PaymentCancelView,
    PaymentErrorView,
    PaymentSuccessView,
    SetExpressCheckoutView,
)


urlpatterns = patterns(
    '',
    url(
        r'^$',
        SetExpressCheckoutView.as_view(),
        name='paypal_checkout'
    ),

    url(
        r'^confirm/$',
        DoExpressCheckoutView.as_view(),
        name='paypal_confirm',
    ),

    url(
        r'^canceled/$',
        PaymentCancelView.as_view(),
        name='paypal_canceled',
    ),
from paypal_express_checkout.views import (
    DoExpressCheckoutView,
    IPNListenerView,
    PaymentCancelView,
    PaymentErrorView,
    PaymentSuccessView,
    SetExpressCheckoutView,
)


urlpatterns = patterns(
    '',
    url(
        r'^$',
        SetExpressCheckoutView.as_view(),
        name='paypal_checkout'
    ),

    url(
        r'^confirm/$',
        DoExpressCheckoutView.as_view(),
        name='paypal_confirm',
    ),

    url(
        r'^canceled/$',
        PaymentCancelView.as_view(),
        name='paypal_canceled',
    ),
"""The urls for the ``paypal_express_checkout`` app."""
from django.conf.urls import url

from paypal_express_checkout.views import (
    DoExpressCheckoutView,
    IPNListenerView,
    PaymentCancelView,
    PaymentErrorView,
    PaymentSuccessView,
    SetExpressCheckoutView,
)

urlpatterns = [
    url(r'^$', SetExpressCheckoutView.as_view(), name='paypal_checkout'),
    url(
        r'^confirm/$',
        DoExpressCheckoutView.as_view(),
        name='paypal_confirm',
    ),
    url(
        r'^canceled/$',
        PaymentCancelView.as_view(),
        name='paypal_canceled',
    ),
    url(
        r'^error/$',
        PaymentErrorView.as_view(),
        name='paypal_error',
    ),
    url(
        r'^success/$',