Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable Sales tax #27

Merged
merged 7 commits into from
Jul 26, 2024
Merged

feat: enable Sales tax #27

merged 7 commits into from
Jul 26, 2024

Conversation

wpf500
Copy link
Member

@wpf500 wpf500 commented Jul 25, 2024

Enable sales tax. For simplicity, this PR makes the Stripe tax rate code a bit less generic so it only deals with sales tax stuff.

Instead of batch updating all the subscriptions in one go, just update them when they create their next invoice. This avoids needing any sort of batch job management. It uses the invoice.created webhook to update the draft invoice, and also update the subscription.

This PR also improves the documentation a bit by formatting some comments into JSDoc

@wpf500 wpf500 merged commit bc2c63d into main Jul 26, 2024
7 checks passed
@wpf500 wpf500 deleted the feat/enable-tax-rate branch July 26, 2024 09:51
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.

1 participant