ACSD-43887: Incorrect details displayed on checkout payment page

The ACSD-43887 patch fixes the issue where incorrect details are displayed on the checkout payment page when Purchase Orders for companies are enabled. This patch is available when the Quality Patches Tool (QPT) 1.1.17 is installed. The patch ID is ACSD-43887. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.6.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.3

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.2 - 2.4.4
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

Incorrect details are displayed on the checkout payment page when Purchase Orders for companies are enabled.

Prerequisites:

  1. B2B modules are installed.
  2. Enable Company is set to Yes. Go to Stores > Configurations > General > B2B Features > Enable Company > Yes.
  3. Enable Purchase Orders is set to Yes. Go to Order Approval Configuration > Enable Purchase Orders > Yes.
  4. PayPal Express is configured as the payment method.

Steps to reproduce:

  1. Create a virtual product.

  2. Register a company account from the frontend with a company Admin.

  3. Approve the company account from the backend and set Enable Purchase Orders as Yes while approving the company.

  4. Go to the frontend and log in using the company Admin account created in step two.

  5. Create a “Default User” for the company. Go to Company User > Add New User.

  6. Create an “Approval Rule” for the company. Go to Approval Rules > Add New Rule.

    • Rule type: Order Total
    • Order Total: is more than or equal to $1
    • Requires approval from: Company Administrator
  7. Log out and log in using the “Default User” account.

  8. Add the virtual product created in step one to the cart and proceed to checkout.

  9. Select PayPal Express as the payment method and click on Place Purchase Order.

  10. Log out and log in using the company Admin account.

  11. Go to My Purchase Orders and from Company Purchase Orders, click on View for the order created in step nine.

  12. Approve the purchase order. The purchase order status should be “Approved: Pending Payment”.

  13. Log out and log in using the company “Default User” account.

  14. Go to My Purchase Orders > View > Place Order.

  15. Check the Order Summary.

Expected results:

The order summary shows correct non-zero values.

Actual results:

The order summary total value is zero.

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 Patches available in QPT in our developer documentation.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a