-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Can not checkout in m2.4.3 when address has extension attribute #34202
Comments
Hi @MaiDucQuan97. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. Please, add a comment to assign the issue:
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @engcom-Delta. Thank you for working on this issue.
|
Hi every body, But when I add extension_attribute to AddressInterface, the function array_diff() will cause an error because $billingData and $shippingData contain an object. Can you fix it asap? thank you |
Is this EE version only? |
I have also faced this issue on Magento EE 2.4.3. It seems to affect sites that have the CheckoutStaging module enabled (which is the default) and who are using custom extension attributes for addresses. Custom extension attributes for addresses are documented at https://devdocs.magento.com/guides/v2.4/howdoi/checkout/checkout_new_field.html, and so should be something Magento fully supports. For anyone else facing this issue, the following patch has been working well for us (placed in the
|
Hi @engcom-Hotel. Thank you for working on this issue.
|
Hi @dborishansky. Thank you for your request. I'm working on Magento instance for you. |
Hi @dborishansky, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later. |
@magento give me 2.4-develop instance |
Hi @dborishansky. Thank you for your request. I'm working on Magento instance for you. |
Hi @dborishansky, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later. |
Hi @MaiDucQuan97, Thank you for reporting the issue.
If the issue still persists at your end then provide the issue details in depth also provide screenshots or video, accordingly I’ll try to reproduce it again. Thanks |
The issue happens in the module CheckoutStaging (as pointed by @braders) when you send |
We have same issue in Magento EE 2.4.3
|
Hi @engcom-Lima. Thank you for working on this issue.
|
Hi @MaiDucQuan97, I tried reproducing the issue on Magento 2.4-develop branch EE edition and I was able to reproduce the issue. Steps followed to reproduce the issue:-
Note: I have added unit_number in shipping data Expected Result: Actual Result:
Hence confirming the issue. Thanks! |
Also facing this issue in 2.4.4. It would be possible to add a check for AbstractSimpleObject and then cast it to array and json_encode it:
This way the extension attribute is converted to a string, and the values are still being compared. |
@magento i'm working on it |
Hi folks, any update on this ticket? |
Hi All, any updates about the solution? It still happens :) |
Just discovered this issue on 2.4.4 EE, does @braders patch still work as a temporary fix? Is this still a thing on 2.4.5? |
Internal Team started working on this issue and solution is almost ready |
A patch for you guys while waiting for updating from Magento. |
Issue is already fixed in the develop branch and not reproducible anymore. Here is the commit https://github.com/magento-commerce/magento2ce/commit/b4f87e9632055d369a0a4c943dee00888c336ea4 |
Thanks for the update @chittima. We are closing this issue. Thanks |
Hi, @chittima I am facing the same issue on Magento 2.4.3P with guest users only and I check your commit link its shows 404 can you please share the patch with me? Thanks |
Hi @mhamzaraja Please find the commit: b4f87e9 |
Is patch for 2.4.5-p8 available for this issue? |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
The text was updated successfully, but these errors were encountered: