-
Notifications
You must be signed in to change notification settings - Fork 24
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
getSettings doesn't work #42
Comments
For some unkown reason, /src/Blocks/BlockTypes/Checkout.php:456 was commented out on my download of Woocommerce v8.9.1 |
Hey @henriqueccruz!
I double-checked whether there is an issue with the latest WooCommerce package, but these lines look as expected, so perhaps something on your end caused this. I'm glad you figured it out! :) Nevertheless, a few details about this package:
Hope this helps! |
Besides this problem with getSettings, I had a few more issues with my gateway not showing up on the checkout. Thanks for the reply nonetheless. |
I've been trying to implement block-based checkout on a payment gateway which I mantain and I couldn't help noticing that even on this gateway, the getSetting function always returns false and the Payment Gateway ends up showing only because it has a fallback label defined.
As shown on #34 , the user defines the gateway name but the default keeps being used.
Also, window.wc.wcSettings.getSetting('dummy_data') always returns false on the frontend.
Is this an expected behaviour? Or am I missing something?
The text was updated successfully, but these errors were encountered: