MuckRock / squarelet

MuckRock User Service
GNU Affero General Public License v3.0
11 stars 10 forks source link

When signing up for a professional account, the email misquotes the number of AI credits provided. #95

Closed duckduckgrayduck closed 10 months ago

duckduckgrayduck commented 11 months ago

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.

MuckRock

Receipt

10/09/2023

Order ch_2NzRv2tU5ovL4Hc41uGgrHM4

Professional $40.00

Hi REDACTED

This receipt confirms your payment to MuckRock.

Your account includes up to 20 requests per month, the ability to embargo requests, and priority support. It also includes, upon account verification, access to DocumentCloud, including 5,000 advanced OCR pages per month for the first five members of your organization. Additional members can be added for $10/each, adding an additional 500 advanced OCR pages.

You can manage your account from your settings <>, including upgrading, downgrading, and cancelling your account.

For concerns or more information about this charge, please contact info@muckrock.com mailto:[info@muckrock.com](mailto:info@muckrock.com).

Thank you, The MuckRock Team

Add info@muckrock.com mailto:[info@muckrock.com](mailto:info@muckrock.com) to your address book to prevent our emails from being marked as spam.

MuckRock, 263 Huntington Ave, Boston, MA 02115

duckduckgrayduck commented 11 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"), }, )

duckduckgrayduck commented 11 months ago

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?