Skip to content

Commit b7ba20d

Browse files
committed
환불 로직 URL 추가
1 parent 9cc05cf commit b7ba20d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

payment/urls.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
from django.contrib import admin
22
from django.urls import include, path
33

4-
from payment.views import PortoneWebhookApi, post__generate_payment_key, PaymentSuccessApi
4+
from payment.views import PortoneWebhookApi, post__generate_payment_key, PaymentSuccessApi, post__cancel_payment
55

66
urlpatterns = [
77
path("portone/webhook/", PortoneWebhookApi.as_view(), name="portone-webhook"),
88
path("key/", post__generate_payment_key, name="get-payment-key"),
99
path("success/", PaymentSuccessApi.as_view(), name="payment-success"),
10+
path("calcel/", post__cancel_payment, name="cancel-payment"),
1011
]

0 commit comments

Comments
 (0)