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.
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:
Go to the Storefront as a Guest.
Add a simple product to the shopping cart.
Go to Checkout.
Fill the form with valid data.
Select shipping rate and click Next.
Go back to the Shipping Step and change the value to:
Select shipping rate and click Next.
Expected result:
The Payment step opens.
Actual result:
The Payment step opens.
Apply the patch below.
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
The patch was created for:
The patch is also compatible (but might not solve the issue) with the following Adobe Commerce versions and editions:
See How to apply a composer patch provided by Adobe Commerce in our support knowledge base for instructions.