When clicking on the button: Place Order (in Connected mode and not Connected to the BO), I have this error message:
POST .../rest/store_en/V1/guest-carts/eFlVy14vPXeH9hU5R6BpK2QZiRCYx508/payment-information 400 (Bad Request)
After migration to 2.4.7 : The email field has disappeared Any help please . Order sending is blocked
Check your checkout settings and ensure the email field is correctly configured. You might also need to review customizations or extensions that could be affecting the checkout process after the migration.
If you're encountering the "email is required" error after upgrading to Magento 2.4.7, try the following:
Clear Cache & Reindex: Run php bin/magento cache:clean and php bin/magento indexer:reindex.
Check Theme & Extensions: Ensure compatibility with Magento 2.4.7 for both your theme and extensions.
Custom Code: Review any custom checkout-related code to ensure compatibility.
Form Validation: Confirm required fields like email are properly configured.
Developer Mode: Enable developer mode (php bin/magento deploy:mode:set developer) for detailed error logs.
Check Logs: Look at var/log/ for further insights.
https://medium.com/@fadimahar02/best-night-vision-scopes-for-coyote-hunting-tested-0c62a6d3bd17
Hello @lemjidmed
Can you please try to place an order using the offline payment methods and then check. The issue seems to be related to the 3rd party payment method.
Hello @lemjidmed,
after migrating to Magento 2.4.7, along with the issue of the missing email field, suggests that something went wrong during the migration, likely related to the checkout or payment process for guest users.
The missing email field in the checkout is likely due to a theme or layout issue after the migration. Magento’s checkout relies on the email field to send order confirmation and process guest orders, and its absence will break the submission process.
Check if there were any theme or layout overrides related to the checkout process. If your theme was customized, there might be outdated templates or JavaScript files that are not compatible with Magento 2.4.7.
Look at checkout_index_index.xml in your theme to ensure that the email field is included.
Compare your theme files with the core Magento checkout templates (app/code/Magento/Checkout/view/frontend/templates).
Also newer verion of magento does not allow html tag completion, Check you htm files in checkout module. if it should look like this for example:
<div class="checkout-billing-address" /> instead in html files comple tags like: <div class="checkout-billing-address"></div>
The 400 Bad Request error from the POST /V1/guest-carts/{cart_id}/payment-information endpoint indicates that the request payload is missing required data or is incorrectly formatted. This is often caused by:
If the issue will be resolved, Click Kudos & Accept as a Solution.