feat(paymnet): Remove isButtonMicroTextDisabled for not usage#3249
Merged
Conversation
1f05569 to
dec07a2
Compare
Contributor
|
cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit dec07a2. Configure here.
bc-wpietrzak
approved these changes
Jun 25, 2026
PavlenkoM
reviewed
Jun 25, 2026
dec07a2 to
3bc82d8
Compare
PavlenkoM
approved these changes
Jun 25, 2026
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/Why?
Removes the dead code related to the PI-2061.amazon_pay_button_micro_text_disabled experiment from checkout-sdk.
The experiment controlled whether the Amazon Pay button micro text ("USE YOUR AMAZON ACCOUNT") was hidden by passing design: 'C0001' to the Amazon Pay button config. This value was sourced from initializationData.isButtonMicroTextDisabled, which was set by bcapp based on a LaunchDarkly flag.
The experiment was disabled and fully removed from bcapp in bigcommerce/bigcommerce#67068, meaning isButtonMicroTextDisabled is no longer included in the initializationData response. This PR removes the now-dead handling code from checkout-sdk as a maintenance cleanup.
Rollout/Rollback
rollback this commit
Testing
without changes
without.changes.mov
with changes
with.changes.mov
Note
Low Risk
Dead-code removal only; default Amazon Pay button rendering is unchanged aside from no longer honoring a field that is no longer provided.
Overview
Removes checkout-sdk support for the retired PI-2061 Amazon Pay button micro-text experiment.
initializationData.isButtonMicroTextDisabledis no longer read in cart/checkout strategies, and the processor no longer maps it todesign: C0001on Amazon Pay button config.Also deletes
AmazonPayV2ButtonDesign, related types/options, the micro-text unit test, and mock helpers—aligned with bcapp no longer sending this flag after LaunchDarkly cleanup.Reviewed by Cursor Bugbot for commit 3bc82d8. Bugbot is set up for automated code reviews on this repo. Configure here.