symposion_app/registripe/urls.py

16 lines
492 B
Python
Raw Normal View History

2016-09-21 00:41:02 +00:00
from django.conf.urls import url
from registripe import views
2017-04-22 09:06:30 +00:00
from pinax.stripe.views import Webhook
2016-09-21 00:41:02 +00:00
urlpatterns = [
url(r"^card/([0-9]*)/$", views.card, name="registripe_card"),
2017-04-22 09:06:30 +00:00
url(r"^card/([0-9]*)/([0-9A-Za-z]*)/$", views.card,
name="registripe_card"),
url(r"^pubkey/$", views.pubkey_script, name="registripe_pubkey"),
2016-09-22 01:04:43 +00:00
url(r"^refund/([0-9]*)/$", views.refund, name="registripe_refund"),
2016-09-21 00:41:02 +00:00
url(r"^webhook/$", Webhook.as_view(), name="pinax_stripe_webhook"),
]