1
0
Files
AstralRinth/apps/labrinth
François-Xavier Talbot 9b5f172170 Billing issues fixes (#4173)
* Multiple billing fixes

- Fix the open charge not having its amount + interval updated after
promoting the expiring subscription
- Fix proration rate being miscalculated (assumed the current
subscription interval was always monthly)
- Fix the open charge's interval and amount being updated on PATCH
/subscription/:id even if the payment intent was never confirmed

* Appease clippy

* Update apps/labrinth/src/routes/internal/billing.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: François-Xavier Talbot <108630700+fetchfern@users.noreply.github.com>

---------

Signed-off-by: François-Xavier Talbot <108630700+fetchfern@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 23:59:37 +00:00
..
2024-12-11 19:54:18 -08:00
2024-10-16 14:11:42 -07:00
2025-08-14 23:59:37 +00:00
2024-10-16 14:11:42 -07:00
2025-08-08 22:50:44 +00:00
2024-10-16 14:11:42 -07:00

labrinth banner

Modrinth's laboratory for its backend service & API!

For contributing information, please see the labrinth section of the Modrinth contributing guide. For documentation on the API itself, see the API Spec.