Stripe checkout #104411

Merged
Anna Sirota merged 61 commits from stripe into main 2024-06-17 18:08:41 +02:00
2 changed files with 0 additions and 8 deletions
Showing only changes of commit d18c100f9d - Show all commits

View File

@ -209,12 +209,6 @@ class SelectPlanVariationForm(forms.Form):
)
class PayExistingOrderForm(forms.Form): # TODO
"""Same as AutomaticPaymentForm, but doesn't validate or update billing details."""
price = forms.CharField(widget=forms.HiddenInput(), required=True)
class CancelSubscriptionForm(forms.Form):
"""Confirm cancellation of a subscription."""

View File

@ -11,7 +11,6 @@ import looper.views.settings
from subscriptions.forms import (
BillingAddressForm,
CancelSubscriptionForm,
PayExistingOrderForm,
TeamForm,
)
from subscriptions.views.mixins import SingleSubscriptionMixin, BootstrapErrorListMixin
@ -82,7 +81,6 @@ class PayExistingOrderView(looper.views.checkout_stripe.CheckoutExistingOrderVie
# Redirect to LOGIN_URL instead of raising an exception
raise_exception = False
template_name = 'subscriptions/pay_existing_order.html'
form_class = PayExistingOrderForm
def get_cancel_url(self):
"""Return to this subscription's manage page."""