mollie / WooCommerce

Official Mollie extension for WooCommerce
https://wordpress.org/plugins/mollie-payments-for-woocommerce/
Other
131 stars 53 forks source link

Disappearing Phonenumber field #794

Closed sedero closed 11 months ago

sedero commented 1 year ago

With the latest release there is a bug with a disappearing phonenumber field.

in the file: mollieIn3.js

Billing_birthdate_field is linked to billing_phone

When the field is removed it can block the payment/next step. Because its a required field.

netbbe commented 1 year ago

Same issue here. It's breaking the checkout of our client's webshop for many devices. It is affecting Apple devices mainly, but not exclusively.

We're using a temporary workaround of making the phone number optional.

sebastian-mollie commented 1 year ago

Hi,

Thanks for the report, we are looking into this already and we are refactoring the code for this fields on the next release.

For the quickest solution, we recommend you contact us at: https://mollie.com/contact/merchants. You’ll be put in direct contact with our technical support team, who’ll provide you with the dedicated support you need.

Best regards,

hogash commented 1 year ago

Hi @sebastian-mollie ,

Also having this issue. Looking at the production code the billing phone is replaced by the birthday field ex: https://d.pr/i/Ses43N ? It's definitely related to this https://github.com/mollie/WooCommerce/blob/32fb88ee42355cddd42c149abaf436befc521610/resources/js/mollieIn3.js#L36 .

Can you provide a timeframe estimation until the upcoming release? Thanks!

sebastian-mollie commented 1 year ago

@hogash, I would expect for this fix to be released mid July.

danielbenjamins commented 1 year ago

@hogash, I would expect for this fix to be released mid July.

It's now late July and the issue still exists in the current version of the plugin. This is the second time within a month I have to downgrade this plugin on multiple websites due to different issues. I will not recommend Mollie to my clients anymore.

Rubenos12 commented 1 year ago

@sebastian-mollie just saw the update for Mollie. However, not a word on this issue in the changelog? Can you please clarify?

sebastian-mollie commented 1 year ago

@Rubenos12, yes this should have been fixed in the latest release. I see we did not mention exactly that issue being fixed. The work is under "Fix - Missing information for In3 and Billie transactions in blocks and classic checkout"

Please let me know if this was fixed on your end.

Rubenos12 commented 1 year ago

Great, scheduled the updates on the affected sites for later this week. Will update here!

sedero commented 1 year ago

The problem still exists and is easy to test! The field is being removed by Mollie if you use it in combination with Multi-Step Checkout Pro for WooCommerce!

When we rename the file: mollieIn3.min.js the field is not removed. You could wonder, why would Mollie even want to remove the field from the checkout? if its loaded by default.

sebastian-mollie commented 1 year ago

@sedero thanks for the report on this. We will take a look.

sebastian-mollie commented 1 year ago

@sedero our team has been trying to reproduce the issue as you mentioned above without any luck.

Is it possible that you can contact us at: https://mollie.com/contact/merchants. This way our support team can take a look on your current setup and troubleshoot the issue you are seeing of the phone number field being removed.

searchstation commented 1 year ago

Hi @sebastian-mollie we are also having the same issue. As @sedero says this seems to be happening only on multi-page checkouts. It is not happening on the default Woo checkout. It looks like the issue is on line 61 of mollieIn3.min.js. Commenting this out seems to fix the issue in our case. I am not sure the purpose of this function but looks like it might be trying to validate data from the billing address?

searchstation commented 1 year ago

@sebastian-mollie @sedero just figured out that file is for accepting payments for In3 payments... it might be better to load the scripts based on what features are active? I have just commented out the wp_register_script for "mollie-in3-classic-handles" on line 286 of AssetsModule.php and this also fixes the issue.

Tonuz commented 1 year ago

Same issue here ! We are using CheckoutWC

searchstation commented 1 year ago

Same issue here ! We are using CheckoutWC

We are using CheckoutWC too. The method I posted above works as a quick fix.

sebastian-mollie commented 1 year ago

Thanks for all the reports, the team is currently looking into this. We have not been able to reproduce it, but we are submitting a fix that will not load the js if the payment method is not enabled and hopefully this will fix the issue for all of you. This fix should be included in the next release.

sedero commented 1 year ago

@sebastian-mollie When can we expect the next release?

sebastian-mollie commented 1 year ago

We are rushing on the testing, hopefully it will be ready next week.

InpsydeNiklas commented 11 months ago

This was resolved in version 7.3.11 and all newer releases since then. If any troubles remain, I suggest contacting the Mollie support directly for additional guidance. Thank you!