Add SellerStatus filtering layer with extension point for custom overrides (6276)#4307
Merged
Dinamiko merged 5 commits intoApr 28, 2026
Conversation
danieldudzic
force-pushed
the
dev/PCP-6276-seller-status-override-to-access-acdc-vaulting-configuration
branch
from
April 27, 2026 17:42
1bd03c4 to
788bd16
Compare
danieldudzic
marked this pull request as ready for review
April 27, 2026 22:51
danieldudzic
requested review from
AlexP11223,
Dinamiko,
Narek13,
hmouhtar,
mmaymo and
stracker-phil
as code owners
April 27, 2026 22:51
Dinamiko
requested changes
Apr 28, 2026
Test using WordPress PlaygroundThe changes in this pull request can be previewed and tested using a WordPress Playground instance. 🔗 Test this pull request with WordPress Playground What's included:
Login credentials:
Plugin Details:
🤖 Auto-generated for commit e75f974 • Last updated: 2026-04-28T09:54:00.923Z |
Dinamiko
self-requested a review
April 28, 2026 09:49
Dinamiko
approved these changes
Apr 28, 2026
Dinamiko
deleted the
dev/PCP-6276-seller-status-override-to-access-acdc-vaulting-configuration
branch
April 28, 2026 09:51
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.
Description
Adds two WordPress filter hooks to
PartnersEndpoint::seller_status()so external plugins can override or replace the PayPal merchant-integrations API response.What this PR adds:
woocommerce_paypal_payments_seller_status— filters theSellerStatusobject on every return (cache hit or API response)woocommerce_paypal_payments_seller_status_fallback— provides a fallbackSellerStatuswhen the API fails, instead of throwingfetch_seller_status_from_api()private method for claritydocs/seller-status-filter.md