Skip to content

fix(plugin-ecommerce): extract id from cart items, so that a new transaction ca…#16456

Open
emirce wants to merge 1 commit intopayloadcms:mainfrom
emirce:fix/stripe-initiate-payment-unique-id
Open

fix(plugin-ecommerce): extract id from cart items, so that a new transaction ca…#16456
emirce wants to merge 1 commit intopayloadcms:mainfrom
emirce:fix/stripe-initiate-payment-unique-id

Conversation

@emirce
Copy link
Copy Markdown

@emirce emirce commented May 2, 2026

Description

Fixes #16453 . This fix extracts the id field on deconstruction in the intiatePayment handler for the stripe payment adapter. This way new cart items with new Ids can be created when a customer initiates a payment twice without cleaning up the cart.

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.

Initiating payment via Stripe initiatePayment twice for the same cart fails with "Value must be unique" on transaction id

1 participant