- 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
19
uncloud_pay/migrations/0019_order_pricing_plan.py
Normal file
19
uncloud_pay/migrations/0019_order_pricing_plan.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Generated by Django 3.2.4 on 2021-07-06 19:18
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('uncloud_pay', '0018_payment'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='pricing_plan',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='uncloud_pay.pricingplan'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue