regluit/payment/urls.py

26 lines
758 B
Python
Raw Normal View History

from django.conf import settings
2018-04-27 15:42:39 +00:00
from django.conf.urls import url, include
2013-06-03 16:31:39 +00:00
from regluit.payment import views
2011-09-27 12:48:11 +00:00
urlpatterns = [
url(r"^handleipn/(?P<module>\w+)$", views.handleIPN, name="HandleIPN"),
]
# this should be on only if DEBUG is on
if settings.DEBUG:
urlpatterns += [
url(r"^testauthorize", views.testAuthorize),
url(r"^testexecute", views.testExecute),
url(r"^testcancel", views.testCancel),
url(r"^querycampaign", views.queryCampaign),
url(r"^checkstatus", views.checkStatus),
url(r"^testfinish", views.testFinish),
url(r"^testrefund", views.testRefund),
url(r"^testmodify", views.testModify),
url(r"^stripe/test", views.StripeView.as_view())
]