Skip to content

Commit

Permalink
trial not trail
Browse files Browse the repository at this point in the history
  • Loading branch information
rhimmelbauer committed Sep 18, 2023
1 parent 3a30c90 commit 5d2e537
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/vendor/api/v1/stripe/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class StripeEvents(TextChoices):
PAYMENT_INTENT_SUCCEDED = 'payment_intent.succeeded', _("Payment Succeeded")
CHARGE_SUCCEEDED = 'charge.succeeded', _('Charge Succeeded')
SOURCE_EXPIRED = 'customer.source.expired', _('Source Expired')
SUBSCRIPTION_TRIAL_END = 'customer.subscription.trial_will_end', _('Trail Period Will End')
SUBSCRIPTION_TRIAL_END = 'customer.subscription.trial_will_end', _('Trial Period Will End')


class StripeBaseAPI(View):
Expand Down Expand Up @@ -94,8 +94,6 @@ class StripeSubscriptionInvoicePaid(StripeBaseAPI):
def post(self, request, *args, **kwargs):
stripe_invoice = self.event.data.object



site = get_site_from_request(self.request)
processor = StripeProcessor(site)

Expand Down

0 comments on commit 5d2e537

Please sign in to comment.