コード例 #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'
    ),
)
コード例 #2
0
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',
    ),
コード例 #3
0
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',
    ),
コード例 #4
0
"""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/$',