Skip to content

Conversation

@zwidekalanga
Copy link
Contributor

The payment receipt email was displaying 0 for amount paid and license count because subscription_data (invoice.parent.subscription_details) only contains metadata, not quantity or plan.amount fields.

Now uses StripeEventSummary.get_latest_invoice_paid() to retrieve accurate invoice_quantity, invoice_unit_amount, and invoice_amount_paid.

⚠️ DEPRECATION NOTICE

This repository is deprecated and no longer actively developed.

  • 2U maintains a fork located at edx/enterprise-access.
  • If you or your organization wants to adopt maintenance of openedx/enterprise-access,
    please reach out to OpenEdx via Slack.

@zwidekalanga zwidekalanga force-pushed the cnxumalo/fix-payment-receipt-email-zero-values branch from ba7993b to b82c88d Compare December 17, 2025 03:53
@iloveagent57 iloveagent57 merged commit 37ef1c2 into openedx:main Dec 17, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants