Stripe checkout #104411

Merged
Anna Sirota merged 61 commits from stripe into main 2024-06-17 18:08:41 +02:00
Showing only changes of commit 113c8f9446 - Show all commits

View File

@ -135,7 +135,7 @@ class JoinView(LoginRequiredMixin, FormView):
with transaction.atomic():
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
subscription.currency = self.plan_variation.currency
subscription.price = self.plan_variation.price