Update IncompletePaymentIntents to allow null subscription id and charge id
This commit is contained in:
parent
87b85c43b4
commit
7db0594778
2 changed files with 27 additions and 2 deletions
25
hosting/migrations/0065_auto_20201231_1041.py
Normal file
25
hosting/migrations/0065_auto_20201231_1041.py
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.9.4 on 2020-12-31 10:41
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('hosting', '0064_incompletepaymentintents'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='incompletepaymentintents',
|
||||||
|
name='stripe_charge_id',
|
||||||
|
field=models.CharField(max_length=100, null=True),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='incompletepaymentintents',
|
||||||
|
name='stripe_subscription_id',
|
||||||
|
field=models.CharField(max_length=100, null=True),
|
||||||
|
),
|
||||||
|
]
|
|
@ -753,8 +753,8 @@ class IncompletePaymentIntents(AssignPermissionsMixin, models.Model):
|
||||||
request = models.TextField()
|
request = models.TextField()
|
||||||
stripe_api_cus_id = models.CharField(max_length=30)
|
stripe_api_cus_id = models.CharField(max_length=30)
|
||||||
card_details_response = models.TextField()
|
card_details_response = models.TextField()
|
||||||
stripe_subscription_id = models.TextField()
|
stripe_subscription_id = models.CharField(max_length=100, null=True)
|
||||||
stripe_charge_id = models.TextField()
|
stripe_charge_id = models.CharField(max_length=100, null=True)
|
||||||
gp_details = models.TextField()
|
gp_details = models.TextField()
|
||||||
billing_address_data = models.TextField()
|
billing_address_data = models.TextField()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue