Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions billing/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,6 @@ def invoice_payment_succeeded(self, invoice: stripe.Invoice) -> None:
**template_vars,
)

# temporary just making sure these look okay in the real world
task_service.send_email(
to_addr="spencer.murray@sentry.io",
subject="You're all set",
template_name="success-after-failed-payment",
**template_vars,
)

def invoice_payment_failed(self, invoice: stripe.Invoice) -> None:
"""
Stripe invoice.payment_failed webhook event is emitted when an invoice payment fails
Expand Down Expand Up @@ -153,15 +145,6 @@ def invoice_payment_failed(self, invoice: stripe.Invoice) -> None:
**template_vars,
)

# temporary just making sure these look okay in the real world
task_service.send_email(
to_addr="spencer.murray@sentry.io",
subject="Your Codecov payment failed",
template_name="failed-payment",
name="spalmurray-codecov",
**template_vars,
)

def customer_subscription_deleted(self, subscription: stripe.Subscription) -> None:
"""
Stripe customer.subscription.deleted webhook event is emitted when a subscription is deleted.
Expand Down
Loading