Add IncompletePaymentIntents model
This commit is contained in:
parent
41de724904
commit
f628046417
1 changed files with 13 additions and 1 deletions
|
@ -1,4 +1,3 @@
|
||||||
import decimal
|
|
||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
@ -747,6 +746,19 @@ class StripeTaxRate(AssignPermissionsMixin, models.Model):
|
||||||
description = models.CharField(max_length=100)
|
description = models.CharField(max_length=100)
|
||||||
|
|
||||||
|
|
||||||
|
class IncompletePaymentIntents(AssignPermissionsMixin, models.Model):
|
||||||
|
completed_at = models.DateTimeField(null=True)
|
||||||
|
created_at = models.DateTimeField(auto_now_add=True)
|
||||||
|
payment_intent_id = models.CharField(max_length=100)
|
||||||
|
request = models.TextField()
|
||||||
|
stripe_api_cus_id = models.CharField(max_length=30)
|
||||||
|
card_details_response = models.TextField()
|
||||||
|
stripe_subscription_id = models.TextField()
|
||||||
|
stripe_charge_id = models.TextField()
|
||||||
|
gp_details = models.TextField()
|
||||||
|
billing_address_data = models.TextField()
|
||||||
|
|
||||||
|
|
||||||
class IncompleteSubscriptions(AssignPermissionsMixin, models.Model):
|
class IncompleteSubscriptions(AssignPermissionsMixin, models.Model):
|
||||||
created_at = models.DateTimeField(auto_now_add=True)
|
created_at = models.DateTimeField(auto_now_add=True)
|
||||||
completed_at = models.DateTimeField(null=True)
|
completed_at = models.DateTimeField(null=True)
|
||||||
|
|
Loading…
Reference in a new issue