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.45k stars 9.29k forks source link

Billing address remains old after going back from Payment step and changing the shipping #20364

Open ilnytskyi opened 5 years ago

ilnytskyi commented 5 years ago

The problem exists for payment methods where changing the billing address is disabled or not possible to change it on payment step in checkout. Billing address remains old after going back from Payment step and changing the shipping address

Preconditions (*)

Magento 2.2.7 Magento 2.2.6 Magento 2.2.5

Steps to reproduce (*)

  1. Create an account
  2. Add an address
  3. Add products to cart
  4. Process checkout till payment step
  5. See addresses in /V1/carts/mine/shipping-information request (they are the same)
  6. Select PayPal Express
  7. Go back to shipping step
  8. Add new shipping address and select it
  9. Process to payment
  10. See that in /V1/carts/mine/shipping-information request (addresses are different)

Expected result (*)

  1. If payment method does not allow us to set billing on payment step and after going back to shipping step and changing shipping address the billing address changing as well
  2. In case of PayPal Express without billing address validation it receives shipping address and customer can place order. And then in admin panel the order will have two the same both billing and shipping addresses

Actual result (*)

  1. If payment method does not allow us to set billing on payment step and after going back to shipping step and changing shipping address the billing address remains old or (default billing)
  2. In case of PayPal Express without billing address validation it receives shipping address and customer can place order. But then in admin panel the order will have different billing address. (it may cause problems during exporting orders to 3rd systems if we just rely on magento data and don't know about this issue)

Yes the system uses default billing address. If customer knows about issue he needs to change it in his account. In case a customer does not know about the issue, he may expect that changing the shipping address automatically changes the billing address if there is no possibilities to change one on the payment step. For now it seems to be just PayPal module issue. But it may occur in other payment modules if developers don't know that billing address changes.

magento-engcom-team commented 5 years ago

Hi @ilnytskyi. 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 (for example: 2.3-develop). For more details, please, review the Magento Contributor Assistant documentation.

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

magento-engcom-team commented 5 years ago

Hi @LuciferStrome. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

LuciferStrome commented 5 years ago

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

irajneeshgupta commented 5 years ago

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

magento-engcom-team commented 5 years ago

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

magento-engcom-team commented 5 years ago

Hi @irajneeshgupta, here is your Magento instance. Admin access: https://i-20364-2-3-develop.instances.magento-community.engineering/admin Login: admin Password: 123123q Instance will be terminated in up to 3 hours.

magento-engcom-team commented 5 years ago

@LuciferStrome Thank you for verifying the issue.

Unfortunately, not enough information was provided to created internal ticket. Please consider adding the following:

Once all required information is added, please add label "Issue: Confirmed" again. Thanks!

magento-engcom-team commented 5 years ago

@irajneeshgupta Thank you for verifying the issue. Based on the provided information internal tickets MAGETWO-97689 were created

magento-engcom-team commented 5 years ago

Hi @irajneeshgupta. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if your want to validate it one more time, please, go though the following instruction:

magento-engcom-team commented 5 years ago

Hi @XxXgeoXxX. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if your want to validate it one more time, please, go though the following instruction:

nittyy commented 5 years ago

I am working on this at #dmcdindia19

magento-engcom-team commented 5 years ago

@NithyaBabuKesavan thank you for joining. Please accept team invitation here and self-assign the issue.

m2-assistant[bot] commented 5 years ago

Hi @NithyaBabuKesavan. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:

krzksz commented 4 years ago

@magento give me 2.3-develop instance

magento-engcom-team commented 4 years ago

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

magento-engcom-team commented 4 years ago

Hi @krzksz, here is your Magento instance. Admin access: https://i-20364-2-3-develop.instances.magento-community.engineering/admin Login: admin Password: 123123q Instance will be terminated in up to 3 hours.

github-jira-sync-bot commented 3 years ago

:white_check_mark: Jira issue https://jira.corp.magento.com/browse/AC-1049 is successfully created for this GitHub issue.

m2-assistant[bot] commented 3 years ago

:white_check_mark: Confirmed by @engcom-Hotel. Thank you for verifying the issue.
Issue Available: @engcom-Hotel, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.