Adobe Commerce 2.4.1: wrong message on PayPal-Braintree guest checkout

This article describes a known Adobe Commerce 2.4.1 issue where if guest checkout is disabled, a guest customer trying to place an order with PayPal through Braintree gets a non-informative error message.

Affected products and versions

  • Adobe Commerce on-premises 2.4.0, 2.4.1
  • Adobe Commerce on cloud infrastructure 2.4.0, 2.4.1


An unspecific error is shown when guest checkout is disabled from the backend, and the PayPal through Braintree payment option is selected from the Mini-cart or Shopping Cart.


  1. In the Commerce Admin, under Stores > Configuration > Sales > Checkout, set Allow Guest Checkout = No.
  2. Enable PayPal through Braintree as described in the Braintree in our user guide.

Steps to reproduce:

  1. Add product to cart as a guest.
  2. Select Mini-cart and click Pay with PayPal.
  3. Complete the Paypal checkout, and then you will land on the Order Review page.
  4. Select Shipping Method.
  5. Click Place Order.

Expected results:

When a customer clicks on the PayPal button on the Mini-cart or Shopping Cart page, the following message should be displayed to the customer:

To check out, please sign in with your email address.

If you enable direct Paypal without using Braintree, this scenario behaves differently. It doesn’t allow the guest user to continue with the payment process. It will show the following message when the guest user clicks on the PayPal button in the Mini-cart:

To check out, please sign in with your email address.

Actual results:

The customer is redirected to the Shopping Cart page, and the following message is displayed:

The customer email is missing. Enter and try again.


The workaround for this issue is that the customer can log in at a store (Logged-in users do not use guest checkout.) where guest checkout is disabled. This issue was fixed in Adobe Commerce version 2.4.2.