Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Billing/Shipping address mismatch when paying with an express payment method then making a new order with a regular payment method #6389

Closed
opr opened this issue May 9, 2022 · 2 comments · Fixed by #6773
Assignees
Labels
block: checkout Issues related to the checkout block. type: bug The issue/PR concerns a confirmed bug.

Comments

@opr
Copy link
Contributor

opr commented May 9, 2022

Describe the bug

If you use an express payment method, and place an order with a different billing and shipping address, then go and place a new order without using an express payment method, if the Use same address for billing box is ticked, and not modified between orders, then the billing address used during the the first order is used, rather than the one in the shipping address form.

To reproduce

Steps to reproduce the behavior:

  1. Ensure you have an express payment method available (You may need to disable password managers and be on HTTPS to get this to work)
  2. Place an order using the express payment method and ensure the billing and shipping address are different.
  3. Place a new order but use a regular payment method, do not alter the shipping or billing address, simply place the order without changing the form.
  4. See the billing address is different to the shipping address, even though Use same address for billing was checked.

Expected behavior

Billing address should be the same as shipping address in this case.

@opr opr added type: bug The issue/PR concerns a confirmed bug. block: checkout Issues related to the checkout block. labels May 9, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jul 9, 2022

This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.

Internal: After 10 days with no activity this issue will be automatically be closed.

@github-actions github-actions bot added the status: stale Stale issues and PRs have had no updates for 60 days. label Jul 9, 2022
@senadir
Copy link
Member

senadir commented Jul 15, 2022

This behavior isn't limited really to express payment methods, you can reproduce it using:

  • Add item, go to Checkout, uncheck "use shipping as billing", fill out different addresses, place order.
  • Add another item, go to checkout, leave "use shipping as billing", place order, check the thank you page, you will see your old billing address.

@github-actions github-actions bot removed the status: stale Stale issues and PRs have had no updates for 60 days. label Jul 16, 2022
@opr opr self-assigned this Jul 26, 2022
@opr opr closed this as completed in #6773 Jul 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: checkout Issues related to the checkout block. type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
2 participants