ACP2E-4877: Edit button missing for Pending Payment on Account orders in Admin

The ACP2E-4877 patch fixes the issue where orders placed with Payment on Account can’t be edited in the Admin while they’re in Pending status. This patch is available when the Quality Patches Tool (QPT) 1.1.83 is installed. The patch ID is ACP2E-4877. Please note that this issue is scheduled to be fixed in Adobe Commerce B2B 1.5.4.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) B2B 1.5.2-p4

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) B2B 1.3.4 - 1.5.3
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

Orders placed with Payment on Account can’t be edited in the Admin while they’re in Pending status.

Prerequisites:

Adobe Commerce with the B2B extension. Enable Company is set to Yes, Payment on Account and Cash On Delivery are enabled, and the customer is assigned to a company.

Steps to reproduce:

  1. In the Admin, go to Sales > Orders and click Create New Order.
  2. Select a customer who is assigned to a company, and add a product.
  3. In the Payment Method section, select Payment on Account, and click Submit Order.
  4. Open the new order from Sales > Orders.
  5. Repeat the steps with Cash On Delivery as the payment method, and open that order.

Expected results:

The Edit button is displayed on the order view page for both Pending orders, the one placed with Payment on Account and the one placed with Cash On Delivery.

Actual results:

The Edit button is missing for the Pending order placed with Payment on Account, while it’s displayed for the Cash On Delivery order.

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
commerce-operations-help-tools