Skip to content

[Backport to release/11.0] Store API: enforce coupon global usage limit when paying for an existing order - #67549

Merged
LiamSarsfield merged 1 commit into
release/11.0from
cherry-pick-PR67543-to-release/11.0
Aug 10, 2026
Merged

[Backport to release/11.0] Store API: enforce coupon global usage limit when paying for an existing order#67549
LiamSarsfield merged 1 commit into
release/11.0from
cherry-pick-PR67543-to-release/11.0

Conversation

@woocommercebot

Copy link
Copy Markdown
Collaborator

This PR is a cherry-pick of #67543 to release/11.0.

Original PR Description

See 450-gh-Automattic/woocommerce.

…ing order (#67543)

Co-authored-by: Jorge Torres <jorge.torres@automattic.com>
@woocommercebot
woocommercebot requested a review from a team as a code owner August 10, 2026 13:14
@woocommercebot
woocommercebot requested review from LiamSarsfield and senadir and removed request for a team August 10, 2026 13:14
@github-actions github-actions Bot added the plugin: woocommerce Issues related to the WooCommerce Core plugin. label Aug 10, 2026
@LiamSarsfield
LiamSarsfield enabled auto-merge (squash) August 10, 2026 13:16
@LiamSarsfield
LiamSarsfield disabled auto-merge August 10, 2026 13:17
@LiamSarsfield
LiamSarsfield merged commit ac45cbf into release/11.0 Aug 10, 2026
45 of 47 checks passed
@LiamSarsfield
LiamSarsfield deleted the cherry-pick-PR67543-to-release/11.0 branch August 10, 2026 13:17
@github-actions

Copy link
Copy Markdown
Contributor

Testing Guidelines

Hi @senadir @LiamSarsfield ,

Apart from reviewing the code changes, please make sure to review the testing instructions (Guide) and verify that relevant tests (E2E, Unit, Integration, etc.) have been added or updated as needed.

Reminder: PR reviewers are required to document testing performed. This includes:

  • 🖼️ Screenshots or screen recordings.
  • 📝 List of functionality tested / steps followed.
  • 🌐 Site details (environment attributes such as hosting type, plugins, theme, store size, store age, and relevant settings).
  • 🔍 Any analysis performed, such as assessing potential impacts on environment attributes and other plugins, conducting performance profiling, or using LLM/AI-based analysis.

⚠️ Within the testing details you provide, please ensure that no sensitive information (such as API keys, passwords, user data, etc.) is included in this public issue.

@github-actions

Copy link
Copy Markdown
Contributor

Test using WordPress Playground

The changes in this pull request can be previewed and tested using a WordPress Playground instance.
WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Test this pull request with WordPress Playground.

Note that this URL is valid for 30 days from when this comment was last updated. You can update it by closing/reopening the PR or pushing a commit that changes plugin code.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ API Documentation Reminder

Hi @woocommercebot! Your PR contains REST API changes. Please consider updating the REST API documentation if your changes affect the public API.

Changed API files:

plugins/woocommerce/src/StoreApi/Utilities/OrderController.php

@github-actions github-actions Bot added needs: documentation The issue/PR requires documentation to be added. metric: feature freeze exception A tracking label for PRs that were merged after the feature freeze. labels Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

metric: feature freeze exception A tracking label for PRs that were merged after the feature freeze. needs: documentation The issue/PR requires documentation to be added. plugin: woocommerce Issues related to the WooCommerce Core plugin.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants