ACSD-50345: reCAPTCHA issues during the checkout
The ACSD-50345 patch fixes the issue where the reCAPTCHA v2 and v3 validations fail while placing orders and during the checkout. This patch is available when the Quality Patches Tool (QPT) 1.1.31 is installed. The patch ID is ACSD-50345. Please note that the issue was partially fixed in Adobe Commerce 2.4.6 and is scheduled to be completely fixed in Adobe Commerce 2.4.7.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.5-p1
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.3 - 2.4.5-p2
magento/quality-patches
package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
Case #1
Google reCAPTCHA v2 does not reload after submitting a failed payment.
Steps to reproduce
- Configure Google reCAPTCHA v2 (I’m not a robot).
- Enable the reCAPTCHA for checkout.
- Try to place an order without clicking on reCAPTCHA.
- Once the user receives the error message for the missing reCAPTCHA (reCAPTCHA validation failed, please try again), click on the reCAPTCHA and then try placing an order.
Expected results
The order will not be placed with an incorrect reCAPTCHA.
Actual results
An error is thrown - reCAPTCHA validation failed, please try again and No such cart with id = 4
Case #2
Google reCAPTCHA v3 Invisible is not working on checkout, and the order cannot be placed. PlaceOrder
event is not triggered.
Steps to reproduce
- Configure the reCAPTCHA v3 Invisible from the Store > Configuration > Security.
- Enable reCAPTCHA v3 Invisible for checkout/placing an order under the Storefront tab.
- Try to place an order with the Check/Money order payment method.
Expected results
The order should be placed with the reCAPTCHA turned on.
Actual results
After clicking the Place Order button, it gets disabled, and nothing happens further.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool released: a new tool to self-serve quality patches in the support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in the Quality Patches Tool guide.
For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.