from django.urls import path from .views import ( BazaarVerifyPurchaseView, CreateOrderView, InvoiceListView, OrderDetailView, PaymentRedirectView, ZarinpalCallbackView, ) urlpatterns = [ path('payment/orders', CreateOrderView.as_view(), name='payment-create-order'), path('payment/zarinpal/callback', ZarinpalCallbackView.as_view(), name='payment-zarinpal-callback'), path('payment/bazaar/verify', BazaarVerifyPurchaseView.as_view(), name='payment-bazaar-verify'), path('payment/invoices', InvoiceListView.as_view(), name='payment-invoices'), path('payment/orders/', OrderDetailView.as_view(), name='payment-order-detail'), path('payment/orders//pay', PaymentRedirectView.as_view(), name='payment-order-pay'), ]