ACSD-49843: Product download link unavailable after being auto invoiced with Payment Action = Intent Sale

The ACSD-49843 patch fixes the issue where the product download link is unavailable after the ordered item is auto invoiced by an online payment method when Payment Action is set to Intent Sale. This patch is available when the Quality Patches Tool (QPT) 1.1.37 is installed. The patch ID is ACSD-49843. Please note that the issue is scheduled to be 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.3.7 - 2.3.7-p4, 2.4.1 - 2.4.6-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

The product download link is unavailable after the ordered item is auto invoiced by an online payment method when Payment Action is set to Intent Sale.

Steps to reproduce:

  1. Log in to the Adobe Commerce Admin and navigate to Stores > Configuration > Sales > Configure Braintree.

    • In the Payment Action drop-down, select Intent Sale, and set Enable Card Payments to Yes.
  2. Go to Stores > Configuration > Catalog > Downloadable Product Option > Order Item status for Download, and make sure that it is set to “Invoiced”.

  3. In the storefront, log in as a customer.

    • Add any downloadable product and a simple product to the cart.
    • Use Braintree Pay to place the order using the card option.
  4. Go to My Orders and see that the invoice is automatically created for the order and that both the item statuses are “Invoiced”.

  5. Go to My Downloadable Products and observe that the download link is not available yet.

  6. In the Admin, go to that order and create a shipment for it.

  7. In the storefront, go to My Downloadable Products and observe that the download link is now available.

Expected results:

Download link is available when the downloadable product status is “Invoiced”.

Actual results:

Download link is not available even when the downloadable product status says “Invoiced”. It is available only after a shipment is created for the physical product.

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.

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