Skip to content

Commit

Permalink
Add email call
Browse files Browse the repository at this point in the history
  • Loading branch information
rechner committed Feb 2, 2024
1 parent e4e04fd commit c63006d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions registration/payments.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from django.conf import settings
from square.client import Client

from . import emails
from .models import *

client = Client(
Expand Down Expand Up @@ -494,4 +495,7 @@ def process_webhook_dispute_created_or_updated(

ban.save()

# Send an email about it
emails.send_chargeback_notice_email(order)

return True

0 comments on commit c63006d

Please sign in to comment.