ÃÛ¶¹ÊÓÆµ

[PaaS only]{class="badge informative" title="Applies to ÃÛ¶¹ÊÓÆµ Commerce on Cloud projects (ÃÛ¶¹ÊÓÆµ-managed PaaS infrastructure) and on-premises projects only."}

ACP2E-3918: Checkout failure for company customers using in-store pickup

The ACP2E-3918 patch fixes the issue where checkout fails for logged-in company customers using in-store pickup without a default billing address. This patch is available when the Quality Patches Tool (QPT) 1.1.66 is installed. The patch ID is ACP2E-3918. Please note that this issue is scheduled to be fixed in ÃÛ¶¹ÊÓÆµ Commerce 2.4.9.

Affected products and versions

The patch is created for ÃÛ¶¹ÊÓÆµ Commerce version:

  • ÃÛ¶¹ÊÓÆµ Commerce (all deployment methods) 2.4.7-p4

Compatible with ÃÛ¶¹ÊÓÆµ Commerce versions:

  • ÃÛ¶¹ÊÓÆµ Commerce (all deployment methods) 2.4.5 - 2.4.8
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your ÃÛ¶¹ÊÓÆµ 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

Checkout fails when a logged-in company customer without a default address attempts to place a purchase order using in-store pickup.

Steps to reproduce:

  1. Enable Purchase Orders.
  2. Create a Company and enable Purchase Orders for it.
  3. Create a Company User without saved addresses.
  4. Enable the In-Store Delivery shipping method.
  5. Add an inventory source.
  6. Add an inventory stock.
  7. Assign inventory to a product.
  8. On the frontend, log in as the company user.
  9. Add products to Cart.
  10. Proceed to checkout.
  11. Select In-Store Pick Up at the shipping step.
  12. Proceed to payment.

Expected results:

The payment step should load successfully during checkout, and no errors should appear in the browser console.

Actual results:

The payment step does not load, and the browser console displays the following JavaScript error:

        Uncaught TypeError: Unable to process binding "text: function(){return currentBillingAddress().street.join(', ') }"
        Message: Cannot read properties of undefined (reading 'join')

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:

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3