You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
878 B
Python
27 lines
878 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
|
|
urlpatterns = [
|
|
# LISTING
|
|
path("customer-invoices/", views.customer_invoices, name="customerinvoices"),
|
|
path("products/", views.all_products, name="products"),
|
|
path("orders/", views.customer_orders, name="orders"),
|
|
|
|
|
|
# PRODUCTS URL
|
|
path("osimenu-plans/", views.osimenu_plans, name="osimenuplans"),
|
|
path("shared-hosting-plans/", views.shared_hosting_plans, name="sharedhostingplans"),
|
|
path("cloud-vps-hosting-plans/", views.cloud_vps_hosting_plans, name="cloudvpshostingplans"),
|
|
|
|
|
|
# PAYMENT
|
|
path("payment/<int:item_id>/", views.payment, name="payment"),
|
|
path("initiate_checkout/", views.initiate_checkout, name="initiatecheckout"),
|
|
path(
|
|
"check-order-status/<str:merchant_id>/<str:order_id>/",
|
|
views.check_order_status,
|
|
name="check_order_status",
|
|
),
|
|
]
|