Skip to content

Add Sales Tax Support in Frappe Learning Checkout #2349

@ymhcanada

Description

@ymhcanada

Feature Request

Is your feature request related to a problem? Please describe.
Currently, Frappe Learning supports Stripe as a payment gateway, but does not support Stripe Tax or automated sales tax calculation (e.g., Canadian HST, VAT, etc.).

This creates a major limitation for organizations offering paid courses. While GST support exists for India, there is no equivalent support for other countries.

Image

As a result:

  • Taxes are not applied at checkout
  • Pricing is shown exclusive of required taxes
  • Organizations cannot remain compliant with local tax regulations
  • Manual workarounds are required, which are error-prone and not scalable

For many regions (Canada, EU, UK, etc.), applying sales tax is a legal requirement, making this a critical gap and potential blocker for adoption.


Describe the solution you'd like
Add native support for automated tax calculation using Stripe Tax within Frappe Learning.

Specifically:

  • Integrate Stripe Tax into the checkout flow when using Stripe
  • Automatically calculate and apply tax based on the user’s location
  • Display tax-inclusive or tax-exclusive pricing clearly at checkout
  • Support multiple tax regions (e.g., HST in Canada, VAT in EU, etc.)
  • Provide configuration options in Frappe Learning to enable/disable Stripe Tax

At a technical level, this could be implemented by leveraging Stripe’s PaymentIntent tax capabilities:
https://docs.stripe.com/tax/payment-intent


Describe alternatives you've considered

  • Manually adjusting course pricing to include estimated tax (not compliant or accurate)
  • External invoicing workflows (not practical for LMS checkout flow)

These alternatives are not ideal and introduce complexity, compliance risk, and poor user experience.


Additional context

  • Stripe is already supported in Frappe, so extending it to support Stripe Tax would be a natural enhancement
  • Most countries require automated sales tax handling similar to India’s GST
  • This feature is essential for organizations selling courses internationally

Without this capability, Frappe Learning is difficult to use for paid courses in many regions and may be a deal-breaker for adoption.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions