inital commit
This commit is contained in:
9
payment/urls.py
Normal file
9
payment/urls.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django.urls import path
|
||||
|
||||
from .views import CreateMockPaymentIntentView, MockStripeWebhookView, PaymentStatusView
|
||||
|
||||
urlpatterns = [
|
||||
path("intents/", CreateMockPaymentIntentView.as_view(), name="payment_intent_create"),
|
||||
path("<int:payment_id>/status/", PaymentStatusView.as_view(), name="payment_status"),
|
||||
path("webhooks/stripe/", MockStripeWebhookView.as_view(), name="stripe_webhook_mock"),
|
||||
]
|
||||
Reference in New Issue
Block a user