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
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:
- Enable Purchase Orders.
- Create a Company and enable Purchase Orders for it.
- Create a Company User without saved addresses.
- Enable the In-Store Delivery shipping method.
- Add an inventory source.
- Add an inventory stock.
- Assign inventory to a product.
- On the frontend, log in as the company user.
- Add products to Cart.
- Proceed to checkout.
- Select In-Store Pick Up at the shipping step.
- 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:
- ÃÛ¶¹ÊÓÆµ Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- ÃÛ¶¹ÊÓÆµ 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: A self-service tool for quality patches in the Tools guide.