Closed duckduckgrayduck closed 10 months ago
The template for this email is here: /squarelet/squarelet/templates/organizations/email https://github.com/MuckRock/squarelet/blob/master/squarelet/templates/organizations/email/receipt.html
There doesn't appear to have an email template for professional users. A search for "receipt.html" points to ./squarelet/organizations/models/payment.py
def send_receipt(self): """Send receipt""" sendmail( subject=("Receipt"), template="organizations/email/receipt.html", organization=self.organization, organization_to=ORG_TO_RECEIPTS, extra_context={ "charge": self, "individual_subscription": self.description == "Professional", "group_subscription": self.description.startswith("Organization"), }, )
The logic for this file https://github.com/MuckRock/squarelet/blob/master/squarelet/templates/organizations/email/receipt.html needs to be re-thought.
Currently, it looks like someone who signs up for an organizational account doesn't get any details about their new features, am I reading that right?
This was a receipt a user received when signing up for a professional account, where it mentions 5,000 credits and information only relevant to an organizational account.