ACSD-50345: reCAPTCHA issues during the checkout

Last update: 2023-10-02
  • Created for:
  • Admin

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
NOTE

The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the 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

  1. Configure Google reCAPTCHA v2 (I’m not a robot).
  2. Enable the reCAPTCHA for checkout.
  3. Try to place an order without clicking on reCAPTCHA.
  4. 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

  1. Configure the reCAPTCHA v3 Invisible from the Store > Configuration > Security.
  2. Enable reCAPTCHA v3 Invisible for checkout/placing an order under the Storefront tab.
  3. 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:

To learn more about Quality Patches Tool, refer to:

For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.

On this page