magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.55k stars 9.32k forks source link

Virtual-only quotes use default shipping address for estimation instead of default billing address #17744

Closed navarr closed 6 years ago

navarr commented 6 years ago

When you have a cart containing only virtual products and are a signed-in customer with different default shipping and billing addresses, the default shipping address information will be populated in the cart estimation field instead of the default billing address information - providing an incorrect estimation of tax charges.

Preconditions

  1. Magento 2.2.6-dev installed
  2. Default tax rates configured (typical of a clean installation)
  3. Addition of a Tax Rule that enables those rates
  4. A virtual product created with price point $10

Steps to reproduce

  1. Create a customer account
  2. Create a default billing address of New York, such as:
    123 Main St
    Flushing, NY 11354
  3. Save
  4. Create a default shipping address in an area without tax rates, such as:
    2301 Renaissance Blvd King of Prussia, PA 19406
  5. Save
  6. Browse to category to add Virtual product to cart
  7. View cart page

Expected result

  1. Estimate shipping and tax pre-filled with US / New York / 11354, tax estimated as $0.84

Actual result

  1. Estimate shipping and tax pre-filled with US / Pennsylvania / 19406, no displayed tax
magento-engcom-team commented 6 years ago

Hi @navarr. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento-engcom-team give me {$VERSION} instance

where {$VERSION} is version tags (starting from 2.2.0+) or develop branches (2.2-develop +). For more details, please, review the Magento Contributor Assistant documentation.

@navarr do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?

navarr commented 6 years ago

@magento-engcom-team give me 2.2-develop instance

magento-engcom-team commented 6 years ago

Hi @navarr. Thank you for your request. I'm working on Magento 2.2-develop instance for you

magento-engcom-team commented 6 years ago

Hi @navarr, here is your Magento instance. Admin access: https://i-17744-2-2-develop.engcom.dev.magento.com/admin Login: admin Password: 123123q Instance will be terminated in up to 3 hours.

ghost commented 6 years ago

@navarr, thank you for your report. We've acknowledged the issue and added to our backlog.

sidolov commented 6 years ago

Hi @navarr. Thank you for your report. The issue has been fixed in magento/magento2#18095 by @LucasCalazans in 2.3-develop branch Related commit(s):

The fix will be available with the upcoming 2.3.1 release.

magento-engcom-team commented 6 years ago

Hi @navarr. Thank you for your report. The issue has been fixed in magento/magento2#18863 by @gelanivishal in 2.2-develop branch Related commit(s):

The fix will be available with the upcoming 2.2.8 release.