-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
What happened?
The previewUpdate endpoint is wrongly calculating credits and this affects both the Paddle UI and any API call to that endpoint. (using Paddle Billing)
When credits exist on a subscription, proration is miscalculated.
This returns wrong values for future payments.
While this only affects previews rather than any live date, it's still a critical issue with the API.
Steps to reproduce
- Create a new subscription with a couple of recurring products.
- Remove one product with
prorated_immediatelyoption. - Use the
previewUpdateendpoint while adding another product that exceeds the current amount of available credits.
...
The number returned for the "Next payment" is wrong.
(After completing the change, it does return the correct value)
What did you expect to happen?
No response
Logs
Metadata
Metadata
Assignees
Labels
No labels