Closed
Description
This issue is automatically created based on existing pull request: #29466: [BUG] Admin order create validate vat confirm box
Was broken with commit faa5f9a#diff-47459785dc7008bc9145a9609c9c7f6c and never fixed.
Description (*)
Related Pull Requests
Fixed Issues (if relevant)
- Fixes magento/magento2#<issue_number>
Preconditions (*)
- Magento 2.4-develop
Steps to reproduce (*)
- Go to Stores - Configuration - General - General - Country Options. Set Default Country - Germany
- Expand Store Information, select Country - Germany. Select any Region/State
- Enter a valid German VAT Number. Validate VAT Number
- Save Config
- Go to Stores - Tax Rules click Add New Tax Rule
- Click Add New Tax Rate. Set the following values:
- Country - United Kingdom
- Zip/Post is Range - checkbox Checked
- Range From - 1
- Range To - 99999999
- Rate Percent - 10
Click Save
- Specify Name "tax rule", for example. Assert that Rate1 and previously created rate are marked. Save Rule
- Go to Customer - Customer Groups and create a Customer Group, with Name "newgroup" for example
- Go to _Stores - Configuration - Customers - Customer Configuration - Create New Account Options
- Set the following values:
- Enable Automatic Assignment to Customer Group - Yes
- Default Group - Newgroup
- Group for Valid VAT ID - Intra-Union - Retailer
- Validation Error Group - General
- Validate on Each Transaction - Yes
Default Value for Disable Automatic Group Changes Based on VAT ID - Yes
Save Config clear Magento Cache
- Go to Sales - Orders, click Create New Order
- Click Create New Customer
(Create New Order window appears and selected group is the previously created "newgroup") - Change the Country to United Kingdom
- Enter a valid United Kingdom VAT Number and click Validate VAT Number
Actual result (*)
Nothing happened after clicking Validate VAT Number
Expected result (*)
... Would you like to change the Customer Group for this order?
And after clicking OK the group is changed
Questions or comments
Contribution checklist (*)
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- All new or changed code is covered with unit/integration tests (if applicable)
- All automated tests passed successfully (all builds are green)
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.4-develop branchGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentMay be fixed according to the position in the backlog.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchAffects non-critical data or functionality and does not force users to employ a workaround.
Type
Projects
Status
Done