Stripe checkout #104411
@ -135,7 +135,7 @@ class JoinView(LoginRequiredMixin, FormView):
|
|||||||
|
|
||||||
with transaction.atomic():
|
with transaction.atomic():
|
||||||
subscription.plan = self.plan_variation.plan
|
subscription.plan = self.plan_variation.plan
|
||||||
subscription.user = self.user
|
subscription.customer = self.customer
|
||||||
# Currency must be set before the price, in case it was changed
|
# Currency must be set before the price, in case it was changed
|
||||||
subscription.currency = self.plan_variation.currency
|
subscription.currency = self.plan_variation.currency
|
||||||
subscription.price = self.plan_variation.price
|
subscription.price = self.plan_variation.price
|
||||||
|
Loading…
Reference in New Issue
Block a user