PAY-6232: Adds new mutations as per the v2.12.0 Payment Services release#478
Merged
danidelcar merged 15 commits intomainfrom Aug 20, 2025
Merged
PAY-6232: Adds new mutations as per the v2.12.0 Payment Services release#478danidelcar merged 15 commits intomainfrom
danidelcar merged 15 commits intomainfrom
Conversation
|
Approved 👍🏻 |
keharper
requested changes
Aug 15, 2025
src/pages/graphql/payment-services-extension/mutations/add-products-new-cart.md
Outdated
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/add-products-new-cart.md
Outdated
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/add-products-new-cart.md
Outdated
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/add-products-new-cart.md
Outdated
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/add-products-new-cart.md
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/index.md
Outdated
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/set-cart-inactive.md
Outdated
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/set-cart-inactive.md
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/set-cart-inactive.md
Outdated
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/add-products-new-cart.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Kevin Harper <keharper@users.noreply.github.com>
danidelcar
commented
Aug 19, 2025
src/pages/graphql/payment-services-extension/mutations/add-products-new-cart.md
Outdated
Show resolved
Hide resolved
Contributor
Author
|
Reviewed mutations with ENG |
keharper
reviewed
Aug 19, 2025
src/pages/graphql/payment-services-extension/mutations/set-cart-inactive.md
Outdated
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/add-products-new-cart.md
Outdated
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/add-products-new-cart.md
Outdated
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/add-products-new-cart.md
Outdated
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/set-cart-inactive.md
Outdated
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/set-cart-inactive.md
Outdated
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/set-cart-inactive.md
Outdated
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/set-cart-inactive.md
Outdated
Show resolved
Hide resolved
src/pages/graphql/payment-services-extension/mutations/add-products-new-cart.md
Outdated
Show resolved
Hide resolved
|
|
||
| This mutation is available only if you have installed [Payment Services for Adobe Commerce](https://commercemarketplace.adobe.com/magento-payment-services.html) 2.12.0 or higher. | ||
|
|
||
| The `addProductsToNewCart` mutation always creates a new cart for the shopper then adds the specified products to that cart. This contrasts with the `addProductsToCart` mutation, which requires you to specify an existing cart ID as input. |
Contributor
There was a problem hiding this comment.
Based on our conversation, I'd like to see mention of the special workflow, even if it isn't fully developed yet. Like maybe state the mutation is run when a shopper clicks on a smart button on a Product Details Page. In your workflow PR, you can circle back here and provide more details about the use case.
Co-authored-by: Kevin Harper <keharper@users.noreply.github.com>
keharper
approved these changes
Aug 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose of this pull request
This pull request (PR) adds new mutations as per the v2.12.0 Payment Services release.
Affected pages
Links to Magento Open Source code
Additional information
Docs JIRA PAY-6232
addProductsToNewCartinfo in https://jira.corp.adobe.com/browse/PAY-6168setCartAsInactiveinfo in https://jira.corp.adobe.com/browse/PAY-6169