Open vporton opened 7 years ago
Note that usually canceling of gratis
state happens only through a purchase, while during purchase a new price is set, so old price (even if it would be nonzero) is ignored and so there is no need to store a nonzero price in the case if gratis
flag is set.
The conclusion: We do not need both gratis
boolean flag and price
field.
We should get rid of
gratis
in theSubscriptionItem
model and instead test forprice == 0
.