2012-01-18 17:08:34 +00:00
|
|
|
from django.conf import settings
|
2016-04-08 00:38:53 +00:00
|
|
|
from django.conf.urls import patterns, url, include
|
2013-06-03 16:31:39 +00:00
|
|
|
|
2016-07-27 17:02:47 +00:00
|
|
|
from regluit.payment import views
|
2011-09-27 12:48:11 +00:00
|
|
|
|
2016-07-27 17:02:47 +00:00
|
|
|
urlpatterns = [
|
|
|
|
url(r"^handleipn/(?P<module>\w+)$", views.handleIPN, name="HandleIPN"),
|
|
|
|
]
|
2012-04-18 20:22:00 +00:00
|
|
|
|
2012-01-18 17:08:34 +00:00
|
|
|
|
2012-05-17 20:54:09 +00:00
|
|
|
# this should be on only if DEBUG is on
|
|
|
|
|
|
|
|
if settings.DEBUG:
|
2016-07-27 17:02:47 +00:00
|
|
|
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())
|
|
|
|
]
|
2012-04-11 17:37:41 +00:00
|
|
|
|
|
|
|
|