Skip to content

Commit f3fa8a0

Browse files
chore: Remove debug email from billing emails logic (#1218)
1 parent 64b0bb1 commit f3fa8a0

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

billing/views.py

-17
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,6 @@ def invoice_payment_succeeded(self, invoice: stripe.Invoice) -> None:
7474
**template_vars,
7575
)
7676

77-
# temporary just making sure these look okay in the real world
78-
task_service.send_email(
79-
to_addr="[email protected]",
80-
subject="You're all set",
81-
template_name="success-after-failed-payment",
82-
**template_vars,
83-
)
84-
8577
def invoice_payment_failed(self, invoice: stripe.Invoice) -> None:
8678
"""
8779
Stripe invoice.payment_failed webhook event is emitted when an invoice payment fails
@@ -153,15 +145,6 @@ def invoice_payment_failed(self, invoice: stripe.Invoice) -> None:
153145
**template_vars,
154146
)
155147

156-
# temporary just making sure these look okay in the real world
157-
task_service.send_email(
158-
to_addr="[email protected]",
159-
subject="Your Codecov payment failed",
160-
template_name="failed-payment",
161-
name="spalmurray-codecov",
162-
**template_vars,
163-
)
164-
165148
def customer_subscription_deleted(self, subscription: stripe.Subscription) -> None:
166149
"""
167150
Stripe customer.subscription.deleted webhook event is emitted when a subscription is deleted.

0 commit comments

Comments
 (0)