2016-09-21 00:41:02 +00:00
|
|
|
from django.conf.urls import url
|
|
|
|
|
2016-09-21 03:16:59 +00:00
|
|
|
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 = [
|
2016-09-21 03:16:59 +00:00
|
|
|
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"),
|
2016-09-21 03:16:59 +00:00
|
|
|
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"),
|
|
|
|
]
|