We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af212d7 commit ece2eb8Copy full SHA for ece2eb8
payment/urls.py
@@ -1,10 +1,10 @@
1
from django.contrib import admin
2
from django.urls import include, path
3
4
-from payment.views import PortoneWebhookApi, get__generate_payment_key
5
-
+from payment.views import PortoneWebhookApi, post__generate_payment_key, PaymentSuccessApi
6
7
urlpatterns = [
8
path("portone/webhook/", PortoneWebhookApi.as_view(), name="portone-webhook"),
9
- path("key/", get__generate_payment_key, name="get-payment-key"),
+ path("key/", post__generate_payment_key, name="get-payment-key"),
+ path("success/", PaymentSuccessApi.as_view(), name="payment-success"),
10
]
0 commit comments