Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: ACH not respecting showPayButton #2696

Merged
merged 4 commits into from
Jun 3, 2024
Merged

Fix: ACH not respecting showPayButton #2696

merged 4 commits into from
Jun 3, 2024

Conversation

m1aw
Copy link
Contributor

@m1aw m1aw commented May 28, 2024

Summary

ACH and some other stored payment methods do not respect showPayButton config.
This hopefully fixes that by moving the responsibility to the RedirectButton component. Together with that there's a small CSS fix to ensure we don't display extra bottom margins if there's no content.

Tested scenarios

  • Set Dropin to showPayButton false

Fixed issue:
#2554

Copy link

changeset-bot bot commented May 28, 2024

🦋 Changeset detected

Latest commit: 0ef1515

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@adyen/adyen-web Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented May 28, 2024

Size Change: +13.9 kB (+1.21%)

Total Size: 1.16 MB

Filename Size Change
packages/lib/dist/adyen.js 306 kB +3.31 kB (+1.09%)
packages/lib/dist/cjs/index.js 267 kB +3.42 kB (+1.3%)
packages/lib/dist/es.modern/ar.js 7.13 kB +164 B (+2.35%)
packages/lib/dist/es.modern/cs-CZ.js 6.28 kB +66 B (+1.06%)
packages/lib/dist/es.modern/da-DK.js 5.69 kB +69 B (+1.23%)
packages/lib/dist/es.modern/de-DE.js 6.18 kB +77 B (+1.26%)
packages/lib/dist/es.modern/el-GR.js 8.04 kB +104 B (+1.31%)
packages/lib/dist/es.modern/es-ES.js 5.84 kB +89 B (+1.55%)
packages/lib/dist/es.modern/fi-FI.js 5.84 kB +88 B (+1.53%)
packages/lib/dist/es.modern/fr-FR.js 6.05 kB +72 B (+1.2%)
packages/lib/dist/es.modern/hr-HR.js 6.1 kB +90 B (+1.5%)
packages/lib/dist/es.modern/hu-HU.js 6.37 kB +74 B (+1.18%)
packages/lib/dist/es.modern/index.js 127 kB +1.33 kB (+1.06%)
packages/lib/dist/es.modern/it-IT.js 5.89 kB +65 B (+1.12%)
packages/lib/dist/es.modern/ja-JP.js 6.8 kB +82 B (+1.22%)
packages/lib/dist/es.modern/ko-KR.js 6.43 kB +95 B (+1.5%)
packages/lib/dist/es.modern/nl-NL.js 5.85 kB +71 B (+1.23%)
packages/lib/dist/es.modern/no-NO.js 5.69 kB +92 B (+1.64%)
packages/lib/dist/es.modern/pl-PL.js 6.36 kB +81 B (+1.29%)
packages/lib/dist/es.modern/pt-BR.js 5.87 kB +84 B (+1.45%)
packages/lib/dist/es.modern/pt-PT.js 5.99 kB +69 B (+1.17%)
packages/lib/dist/es.modern/ro-RO.js 6.15 kB +85 B (+1.4%)
packages/lib/dist/es.modern/ru-RU.js 7.5 kB +95 B (+1.28%)
packages/lib/dist/es.modern/sk-SK.js 6.47 kB +89 B (+1.4%)
packages/lib/dist/es.modern/sl-SI.js 6 kB +74 B (+1.25%)
packages/lib/dist/es.modern/sv-SE.js 5.68 kB +77 B (+1.37%)
packages/lib/dist/es.modern/zh-CN.js 6.22 kB +82 B (+1.34%)
packages/lib/dist/es.modern/zh-TW.js 6.32 kB +93 B (+1.49%)
packages/lib/dist/es/ar.js 7.13 kB +164 B (+2.35%)
packages/lib/dist/es/cs-CZ.js 6.28 kB +66 B (+1.06%)
packages/lib/dist/es/da-DK.js 5.69 kB +69 B (+1.23%)
packages/lib/dist/es/de-DE.js 6.18 kB +77 B (+1.26%)
packages/lib/dist/es/el-GR.js 8.04 kB +104 B (+1.31%)
packages/lib/dist/es/es-ES.js 5.84 kB +89 B (+1.55%)
packages/lib/dist/es/fi-FI.js 5.84 kB +88 B (+1.53%)
packages/lib/dist/es/fr-FR.js 6.05 kB +72 B (+1.2%)
packages/lib/dist/es/hr-HR.js 6.1 kB +90 B (+1.5%)
packages/lib/dist/es/hu-HU.js 6.37 kB +74 B (+1.18%)
packages/lib/dist/es/index.js 148 kB +1.59 kB (+1.09%)
packages/lib/dist/es/it-IT.js 5.89 kB +65 B (+1.12%)
packages/lib/dist/es/ja-JP.js 6.8 kB +82 B (+1.22%)
packages/lib/dist/es/ko-KR.js 6.43 kB +95 B (+1.5%)
packages/lib/dist/es/nl-NL.js 5.85 kB +71 B (+1.23%)
packages/lib/dist/es/no-NO.js 5.69 kB +92 B (+1.64%)
packages/lib/dist/es/pl-PL.js 6.36 kB +81 B (+1.29%)
packages/lib/dist/es/pt-BR.js 5.87 kB +84 B (+1.45%)
packages/lib/dist/es/pt-PT.js 5.99 kB +69 B (+1.17%)
packages/lib/dist/es/ro-RO.js 6.15 kB +85 B (+1.4%)
packages/lib/dist/es/ru-RU.js 7.5 kB +95 B (+1.28%)
packages/lib/dist/es/sk-SK.js 6.47 kB +89 B (+1.4%)
packages/lib/dist/es/sl-SI.js 6 kB +74 B (+1.25%)
packages/lib/dist/es/sv-SE.js 5.68 kB +77 B (+1.37%)
packages/lib/dist/es/zh-CN.js 6.22 kB +82 B (+1.34%)
packages/lib/dist/es/zh-TW.js 6.32 kB +93 B (+1.49%)

compressed-size-action

Copy link

sonarcloud bot commented Jun 3, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@m1aw m1aw merged commit f1b6856 into main Jun 3, 2024
11 of 12 checks passed
@m1aw m1aw deleted the fix/ach-showPayButton branch June 3, 2024 16:56
@github-actions github-actions bot mentioned this pull request Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants