Skip to content

Conversation

@alexgraffeocohen
Copy link
Contributor

Background

We are not passing the correct transaction data to pos.receipt-footer.block.render and other targets for product bundles. This is a critical requirement for FC Barcelona, a large merchant that needs to start becoming fiscally compliant with our partner's app. Our partner's app needs product bundle information passed to their extension target code to correctly calculate taxes for FC Barcelona and other merchants.

Solution

Adds product bundle components to the cart line item interface, which is what TransactionCompleteData currently uses. We are not including a uuid field so that the components could not be possible mutated even if queried pre checkout completion.

One consideration is whether we should have a separate line item interface for transaction complete data, if we don't want to add to all cart APIs right now.

🎩

  • ...

Checklist

  • I have 🎩'd these changes
  • I have updated relevant documentation

@alexgraffeocohen alexgraffeocohen force-pushed the alexgc/include-line-item-bundle-components branch from 1869603 to daf7139 Compare September 9, 2025 15:37
@alexgraffeocohen alexgraffeocohen marked this pull request as ready for review September 9, 2025 16:39
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