[PAR-848] Configurable Express Button Styles - #122
Merged
mescalantea merged 4 commits intoAug 26, 2026
Conversation
… button The blob is opaque here: only the portal that writes it and the button that renders it know its attribute names, so this module forwards it untouched and a new style property needs no release of this module or any other plugin. The attribute is omitted rather than emitted empty, so an unconfigured store takes the library's existing default path. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…rable express button styles
Both ended in the same tail once the style joined the result, and a private helper existed only to absorb that duplication. The branches differ in the core call and in which state means unavailable, so those are all they now contain. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
m1k3lm
approved these changes
Aug 24, 2026
m1k3lm
left a comment
Member
There was a problem hiding this comment.
Bear iin mind that it is pointing composer dependency needs to be fixed "sequra/integration-core": "dev-feature/PAR-848-Configurable-Express-Button-Styles",
mescalantea
deleted the
feature/PAR-848-Configurable-Express-Button-Styles
branch
August 26, 2026 09:44
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.
What is the goal?
Merchants can now style the express checkout button from the Merchant Portal. This module's part is to hand that configuration to the button on the product, cart and mini-cart pages.
References
How is it being implemented?
data-button-styleattribute, HTML-escaped.Opportunistic refactorings
The two availability branches were merged; they differed only in which call they make and which state means unavailable.
Caveats
composer.jsoncurrently points at an unreleased branch of the core package and must go back to a tagged release before merge. The module degrades correctly against the released version — it emits no attribute — so the feature is inert until that bump.Does it affect (changes or update) any sensitive data?
No. Presentation values only, escaped into an HTML attribute.
How is it tested?
No unit tests exist for these classes, so this was verified by reading each path against the previous behaviour and by the static gates: PHPCS and PHPStan level 9 clean, syntax checked from PHP 7.4 to 8.5. End-to-end verification against a real store is still outstanding.
How is it going to be deployed?
After the core release that carries the field, and after the CDN ships the button that renders it.