[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects (Adobe-managed PaaS infrastructure) and on-premises projects only."}

ACSD-64592: Non-default store gift card claim links redirect to default website

The ACSD-64592 patch fixes an issue where in a multi-site environment, if a Virtual Gift Card is bought from a secondary (non-primary) website, the email containing the Gift Card Code link will direct users to the default website’s URL. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.9.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.6-p3

Compatible with Adobe Commerce versions:

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

In a multi-website setup, when a Virtual Gift Card is purchased from a secondary (non-default) site, the email containing the Gift Card Code link directs users to the default website’s URL.

Steps to reproduce:

  1. Create a secondary website, store, and store view.
  2. Configure different base URLs for the base and the secondary website.
  3. Create a Virtual Gift Card with some amount options.
  4. Generate a new code pool at Marketing > Promotions > Gift Card Accounts.
  5. Place an order with the Gift Card product on the secondary website.
  6. Invoice the order in the Commerce admin.
  7. Check the URL in the Gift Card Code link of the You’ve been sent a gift from Two email.

Expected results:

The Gift Card Code link should have the link to the second website.

Actual results:

The Gift Card Code link has the default website URL, even though the order is placed on the second website.

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