Private
Public Access
1
0

buy now flow complete except email confirmation

This commit is contained in:
Sander Roosendaal
2018-12-19 17:23:34 +01:00
parent fa61957be7
commit d70725f2b3
12 changed files with 512 additions and 113 deletions

View File

@@ -558,7 +558,7 @@ paymentprocessors = (
class PaidPlan(models.Model):
shortname = models.CharField(max_length=50,choices=plans)
name = models.CharField(max_length=200)
external_id = models.IntegerField(blank=True,null=True,default=None)
external_id = models.CharField(blank=True,null=True,default=None,max_length=200)
price = models.FloatField(blank=True,null=True,default=None)
paymentprocessor = models.CharField(
max_length=50,choices=paymentprocessors,default='braintree')
@@ -633,7 +633,8 @@ class Rower(models.Model):
)
paymentprocessor = models.CharField(max_length=50,
choices=paymentprocessors,
default='braintree')
null=True,blank=True,
default=None)
paidplan = models.ForeignKey(PaidPlan,null=True,default=None)