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

[Bug]: TransactionLineItemPreview is missing Proration details #78

Open
shadeon opened this issue Nov 25, 2024 · 2 comments
Open

[Bug]: TransactionLineItemPreview is missing Proration details #78

shadeon opened this issue Nov 25, 2024 · 2 comments
Assignees

Comments

@shadeon
Copy link

shadeon commented Nov 25, 2024

What happened?

When previewing a subscription change that generates immediate proration, the relevant immediateTransaction.details.lineItems do not include proration details such as the rate and billing period.

The docs and usage of the API directly includes a null or object as appropriate, but they are missing entirely from this package.

Steps to reproduce

  1. Create a subscription with recurring items.
  2. Attempt to preview a subscription modification lowering the quantity using paddle.subscriptions.previewUpdate() with the prorationBillingMode set to prorated_immediately

What did you expect to happen?

Proration details for any existing items that result in a credit are included in the immediate transaction line items. Otherwise, the property is null as documented and via the API directly.

Logs

No response

@danbillson
Copy link
Contributor

Hi @shadeon, thanks for raising this, we'll look into this and provide an update soon

@danbillson danbillson self-assigned this Nov 26, 2024
@danbillson
Copy link
Contributor

@shadeon there is a dependency on another project that needs to be updated first and then we'll be able to get this sorted, thanks for your patience

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

No branches or pull requests

2 participants