Add callback url.
This commit is contained in:
parent
bbaf3ea964
commit
ba201d9cf6
|
@ -5,11 +5,21 @@ from .views import (
|
|||
TicketOrderView,
|
||||
TicketDetailView,
|
||||
EpayView,
|
||||
EpayCallbackView,
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
url(r'order/$', TicketOrderView.as_view(), name='order'),
|
||||
url(r'pay/credit_card/(?P<ticket_id>[a-zA-Z0-9\-]+)/$', EpayView.as_view(), name='epay_form'),
|
||||
url(
|
||||
r'pay/credit_card/(?P<ticket_id>[a-zA-Z0-9\-]+)/$',
|
||||
EpayView.as_view(),
|
||||
name='epay_form'
|
||||
),
|
||||
url(
|
||||
r'epay_callback/',
|
||||
EpayCallbackView,
|
||||
name='epay_callback'
|
||||
),
|
||||
url(
|
||||
r'detail/(?P<pk>[a-zA-Z0-9\-]+)/$',
|
||||
TicketDetailView.as_view(),
|
||||
|
|
Loading…
Reference in a new issue