forked from uncloud/uncloud
- Added PricingPlan Model
- Implement a complete cycle for buying a Matrix Chat Host - Refactor the Payement cycle and stripe related methods
This commit is contained in:
parent
e205d8d07c
commit
b7aa1c6971
81 changed files with 5079 additions and 810 deletions
|
|
@ -4,7 +4,6 @@ from django.urls import path
|
|||
from django.shortcuts import render
|
||||
from django.conf.urls import url
|
||||
|
||||
from uncloud_pay.views import BillViewSet
|
||||
from hardcopy import bytestring_to_pdf
|
||||
from django.core.files.temp import NamedTemporaryFile
|
||||
from django.http import FileResponse
|
||||
|
|
@ -90,14 +89,15 @@ admin.site.register(Bill, BillAdmin)
|
|||
admin.site.register(Product, ProductAdmin)
|
||||
|
||||
for m in [
|
||||
BillRecord,
|
||||
BillingAddress,
|
||||
Order,
|
||||
BillRecord,
|
||||
Payment,
|
||||
ProductToRecurringPeriod,
|
||||
RecurringPeriod,
|
||||
StripeCreditCard,
|
||||
StripeCustomer,
|
||||
VATRate,
|
||||
PricingPlan,
|
||||
VATRate
|
||||
]:
|
||||
admin.site.register(m)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue