-
Notifications
You must be signed in to change notification settings - Fork 69
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
[6.2.0] Invalid value for paymentMethodMessaging.update() when attempting to configure a variable product with the Flatsome theme active #6819
Comments
Thanks for the report, @csmcneill, and the ping @htdat . This seems related to the PR I had worked on. I will add this to my tasks. |
Another report: 6568017-zd-woothemes |
The issue revealed another unexpected behavior / area of improvement. The BNPL payment messaging script seems to render even when the associated PM-s are disabled ( Afterpay and Affirm, at the moment ). I will be addressing this in my upcoming PR too. |
6569425-zen |
Update - PR is ready and in QA. - #6845 |
6573310-zen |
The same error affects the Salient theme. Rolling back to 6.1.1 fixes the error. |
6589875-zen |
Update: While the fix is to be released yet, we can disable BNPLs feature flag for the affected merchants on our end. They'll be able to resume operations. |
Another user report: 6603804 |
another report in 6603332-zen |
6608784-zen was able to resolve this by setting |
6599613-zen |
Another user report here and downgraded to 6.1.1 |
6579755-zen reported this, but they're using the Enfold theme. Set |
@EdithAllison This issue was resolved in version 6.3.0 of WooPayments, which was released pretty recently. If this doesn't resolve the issue, then Please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page. Please include a link to this issue so that we can keep track of what's already been done. We will be able to help you further there. |
I've got 6720292-zen on version 6.3.2 and still experiencing this |
@WillBrubaker How convinced are we that this issue is affecting that ticket? One variable product is experiencing this issue while another isn't. Initial assessments of this issue indicated that all variable products were affected. Additionally, setting I've added links to the particulars in 6720292-zen in case you or @nagpai want to dig into this a bit more. |
Hi @csmcneill @WillBrubaker @nagpai 6720292-zd-a8c raises the same issue in a different way. The quantity in this page has been removed altogether by the merchant using a page builder, a different but not unusual situation. It highlights how we need a fallback if we are going to be relying on the presence of HTML elements on the page. |
If the issue is a result of the user hiding the quantity option, then I would suggest that this warrants a new issue, as it would require different replication criteria. |
Out of curiosity, why are merchants hiding quantity fields (what's the business use case there)? |
@kalessil sharing my findings:
We have this logic to inject the script only when the feature is enabled, based on the value of the Let me know if you have any further questions or need clarification |
Thanks for looking @mgascam and pinging the folks, IMO hardening the logic is the way to go. |
Describe the bug
When using the Flatsome theme while WooPayments 6.2.0 is active, variable products cannot be added to the cart. Doing so produces an error notice when adding the product to the cart:
After selecting all available variables—but before attempting to add the product to the cart—a JavaScript error is thrown in the console:
This error is thrown on selection, and the selection event is not firing as a result.
Reverting to 6.1.1 resolves this issue. Given that reverting resolves the issue and the popularity of Flatsome, I'm opening this issue :)
Note: Reverting to Woo 7.8.0 or disabling multi-currency did not resolve the issue. Changing to a different theme does resolve the issue.
To Reproduce
Actual behavior
While WooPayments 6.2.0 and the Flatsome theme are active, customers cannot add variable products to the cart because the selection event is not firing.
Screenshots
Expected behavior
WooPayments 6.2.0 + Flatsome allows variable products to be added to the cart without issue.
Additional context
Discussion: p1689800687243289-slack-C3NCP7ZJ6
Initial reports:
6556641-zen
6556849-zen
6557129-zen
The text was updated successfully, but these errors were encountered: