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 03763ae982 - Show all commits

View File

@ -1,7 +1,6 @@
"""Views handling subscription management."""
import logging
from django.contrib import messages
from django.contrib.messages.views import SuccessMessageMixin
from django.http import HttpResponseForbidden
from django.shortcuts import get_object_or_404
@ -53,7 +52,6 @@ class PaymentMethodChangeDoneView(looper.views.settings.PaymentMethodChangeDoneV
@property
def success_url(self):
"""Return to this subscription's manage page."""
messages.add_message(self.request, messages.INFO, 'Payment method updated')
return reverse(
'subscriptions:manage',
kwargs={'subscription_id': self.kwargs['subscription_id']},