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: CC component not being mounted when also using legacy payment methods #3174

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

stromhalm
Copy link

Hello,

first time contributor here. We had an issue with the recent versions of the plugin where the credit card field component would not be mounted on the checkout page. This problem only occurs when simultaneously legacy Stripe payment methods are also active in the shop (GiroPay via Stripe Sources in our case). I tracked the issue down to the woocommerce_stripe script being mounted too early in WC_Stripe_Payment_Gateway::payment_scripts().

This change allows us to finally use the latest version of the plugin. Previously we were not able to update since version 8.0.1. Hope you also find this helpful!

@github-actions github-actions bot added the Stale label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant