Skip to content

Comments

PAY-6232: Adds new mutations as per the v2.12.0 Payment Services release#478

Merged
danidelcar merged 15 commits intomainfrom
del-PAY6168
Aug 20, 2025
Merged

PAY-6232: Adds new mutations as per the v2.12.0 Payment Services release#478
danidelcar merged 15 commits intomainfrom
del-PAY6168

Conversation

@danidelcar
Copy link
Contributor

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

addProductsToNewCart info in https://jira.corp.adobe.com/browse/PAY-6168
setCartAsInactive info in https://jira.corp.adobe.com/browse/PAY-6169

@danidelcar danidelcar self-assigned this Aug 14, 2025
@danidelcar danidelcar added the new-topic New original content label Aug 14, 2025
@github-project-automation github-project-automation bot moved this to 📋 Needs Review in Commerce - Pull Requests Aug 14, 2025
@AVoskoboinikov
Copy link

Approved 👍🏻

@github-project-automation github-project-automation bot moved this from 📋 Needs Review to 🛠 Changes Requested in Commerce - Pull Requests Aug 15, 2025
Co-authored-by: Kevin Harper <keharper@users.noreply.github.com>
@danidelcar danidelcar requested a review from keharper August 19, 2025 09:47
@danidelcar
Copy link
Contributor Author

Reviewed mutations with ENG


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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

@danidelcar danidelcar requested a review from keharper August 20, 2025 08:09
@github-project-automation github-project-automation bot moved this from 🛠 Changes Requested to 👍 Approved in Commerce - Pull Requests Aug 20, 2025
@danidelcar danidelcar merged commit 3aa3a51 into main Aug 20, 2025
25 checks passed
@danidelcar danidelcar deleted the del-PAY6168 branch August 20, 2025 14:28
@github-project-automation github-project-automation bot moved this from 👍 Approved to 🏁 Done in Commerce - Pull Requests Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-topic New original content

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants