Adobe Commerce 2.3.5, 2.3.5-p1 patch: country payment issue

This patch resolves an issue in Adobe Commerce where the storefront checkout workflow did not display any payment method that has been enabled for specific countries, except for Klarna and Amazon Pay.

Affected products and versions

  • Adobe Commerce on cloud infrastructure 2.3.5 and 2.3.5-p1
  • Adobe Commerce on-premises 2.3.5 and 2.3.5-p1

Issue

When a store has Amazon Pay and another payment assigned to different countries, and when one of those countries and payment methods is selected, the payment method and place order buttons are not visible.

A web page refresh is a workaround for the issue.

To resolve this issue and remove the error, we have created a patch.

Prerequisites:

  • A simple product is created.

  • Check/Money order is enabled only for specific countries (at Store > Configuration > Sales > Payment Methods).

  • Example: Payment from Applicable Countries = Specific Countries

  • Example: Payment from Specific Countries = United Kingdom

Steps to reproduce:

  1. Go to the Storefront as a Guest.

  2. Add a simple product to the shopping cart.

  3. Go to Checkout.

  4. Fill the form with valid data.

    • Country = United States
  5. Select shipping rate and click Next.

    • Payment step is opened.
    • There are no available payments.
    • Message: No Payment method available.
    • There is no Place Order button.
  6. Go back to the Shipping Step and change the value to:

    • Country = United Kingdom
  7. Select shipping rate and click Next.

Expected result:

The Payment step opens.

  • Cash On Delivery appears.
  • Check/Money order appears.
  • The Place Order button appears.

Actual result:

The Payment step opens.

  • There are no available payments.
  • Message: No Payment method available.
  • There is no Place Order button.

Solution

Apply the patch below.

Patch

The patch is attached to this article. To download it, scroll down to the end of the article and click the file name or click the following link:

Download BUNDLE-2546_EE_2.3.5-p1.composer.patch

Compatible Adobe Commerce versions:

The patch was created for:

  • Adobe Commerce on cloud infrastructure 2.3.5 and 2.3.5-p1
  • Adobe Commerce on-premises 2.3.5 and 2.3.5-p1

The patch is also compatible (but might not solve the issue) with the following Adobe Commerce versions and editions:

  • Adobe Commerce versions 2.3.4-p2 - 2.2.6

How to apply the patch

See How to apply a composer patch provided by Adobe Commerce in our support knowledge base for instructions.

Attached Files

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