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

fix: Allow null product IDs in transaction preview responses #90

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

davidgrayston-paddle
Copy link
Contributor

Fixed

  • TransactionsClient::preview() TransactionPreview response now allows null IDs for non-catalog products:
    • items[]->priceId is now nullable
    • details->lineItems[]->product can now return Product (with id) or TransactionPreviewProduct (with nullable id)

Follows fix made in #89 - reported in #87 (comment)

@davidgrayston-paddle davidgrayston-paddle force-pushed the fix/transaction-preview-product-id branch from 847770e to 7263072 Compare October 9, 2024 21:29
@davidgrayston-paddle davidgrayston-paddle changed the title fix: Allow null product IDs for transaction preview responses fix: Allow null product IDs in transaction preview responses Oct 9, 2024
@davidgrayston-paddle davidgrayston-paddle merged commit c4549fc into main Oct 11, 2024
4 checks passed
@davidgrayston-paddle davidgrayston-paddle deleted the fix/transaction-preview-product-id branch October 11, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants