-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Issue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed
Description
Preconditions (*)
- Install Magento version 2.1.8
Steps to reproduce (*)
- Select United Arab Emirates as default country
- Select Saudi Arabia and United Arab Emirates as allowed countries
- Register a new user
- Go to checkout and select a payment method to place an order
Expected result (*)
- Order successfully placed
Actual result (*)
- Error message comes as "An error occurred on the server. Please try to place the order again".
On printing the actual exception message, error message comes as "Please correct the country code". This message comes from
vendor/magento/module-directory/Model/ResourceModel/Country.php
The code is passed in the function:
public function loadByCode(\Magento\Directory\Model\Country $country, $code)
The $code being passed here comes empty during checkout.
Metadata
Metadata
Assignees
Labels
Issue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed