commercelayer / mfe-checkout

Commerce Layer Hosted Checkout
https://commercelayer.io
MIT License
42 stars 47 forks source link

Unable to select a country on orders with digital products only and `shipping_country_code_lock` #384

Closed malessani closed 11 months ago

malessani commented 11 months ago

Description

When an order has the shipping_country_code_lock attribute set to true if the customer selects a country other than the locked one, the customer is not able to go to the following step.

Steps to Reproduce

  1. Create an order with digital products only
  2. Set to true the shipping_country_code_lock attribute on an order
  3. Choose a country with a country code different then the one on shipping_country_code_lock attribute
  4. Try to save the address

Expected Result

The expected result was to be able to complete the checkout

Actual Results

The actual result was that the customer sees a disabled button to go to the payment step

malessani commented 11 months ago

:tada: This issue has been resolved in version 4.2.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: